Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't make my Intel wireless adapter work
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Thu Feb 06, 2014 8:41 pm    Post subject: Reply with quote

Quote:
What is the purpose of not having the /boot directory as the mountpoint for the boot partition?

Sounds strange maybe.. or maybe it has to be so, but there were already some files in that folder. So I feared mounting the partition to that folder. Perhaps, it's a result of some incorrect actions from my side )

Quote:
This is trouble. /lib/firmware is the standard location for firmware files and licenses.

I ran this:
Code:
make firmware_install

And the folder created. Very strangely.. Why wasn't there that folder before? Nothing was told about using "make firmware_install" in the handbook. What step did I miss?
So I copied the firmware files and it worked! Almost.. The wifi adapter is now displayed when printing "ifconfig -a" and "rfkill list", but my wicd can't see any wifi connections.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43194
Location: 56N 3W

PostPosted: Thu Feb 06, 2014 9:21 pm    Post subject: Reply with quote

mvlabat,

Look in dmesg for errors about loading firmware.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Thu Feb 06, 2014 9:36 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Wicd

make sure there are no vestiges of networkmanager or gentoo net scripts around or any attempts to start wpa_supplicant or dhcp or dhcpcd by anything other than wicd

ifconfig -a tells you that the kernel now sees your wireless and attaches a driver to it
Code:
ifconfig
if your wireless appears, the interface is up
Code:
emerge wireless-tools
iwconfig
if your wireless appears, does it have wireless extensions and an ip
Code:
iwlist scan
does the wireless see the network?
Code:
dmesg
what comments are there concerning wireless?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Feb 07, 2014 2:08 am    Post subject: Reply with quote

Quote:
Sounds strange maybe.. or maybe it has to be so, but there were already some files in that folder. So I feared mounting the partition to that folder. Perhaps, it's a result of some incorrect actions from my side )
If there are files in the /boot directory that exists on the root partition: mounting the boot partition to that mount point will "hide" the mislocated files. The mislocated files at /boot are not uncommon as occasionally grub is emerged or a kernel is installed with the /boot partition not mounted. There are at least three warring factions: one group holds that a separate boot partition should exist and only be mounted when it is to be modified, another group holds that a separate boot partition should exist and be mounted automatically at boot, another group holds that a separate boot partition is an unnecessary complication. Approximate logic for each: maximally protect /boot files from corruption, protect /boot files from root file system corruption while avoiding failure to mount accidents mislocating files, avoid failure to mount accidents mislocating files while considering corruption of /boot unlikely and the least part of the problem in a corrupted root filesystem. Any of these options is very workable. If using separate boot partition you should clean up the mislocated files and use /boot as the boot partition mountpoint.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Fri Feb 07, 2014 4:01 pm    Post subject: Reply with quote

"ifconfig" doesn't show the wifi interface. :(

dmesg reports me these lines:

Code:

[   10.723818] iwlwifi 0000:09:00.0: irq 50 for MSI/MSI-X
[   10.744318] iwlwifi 0000:09:00.0: loaded firmware version 22.15.8.0 op_mode iwlmvm
[   10.917061] iwlwifi 0000:09:00.0: Detected Intel(R) Wireless N 7260, REV=0x144
[   10.917112] iwlwifi 0000:09:00.0: L1 Disabled; Enabling L0S
[   10.917268] iwlwifi 0000:09:00.0: L1 Disabled; Enabling L0S
[   11.099545] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Feb 07, 2014 5:27 pm    Post subject: Reply with quote

what is the wireless interface's name in the ifconfig output?

Code:
ifconfig <wireless interface's name> up
What is the response?
Code:
ifconfig
Does the response now include the wireless?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Sat Feb 08, 2014 10:42 am    Post subject: Reply with quote

"ifconfig wlp9s0 up" almost helped. The interface is now displayed, but wicd still doesn't want to search access points.

ifconfig
Code:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2  bytes 100 (100.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 100 (100.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp9s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 0c:8b:fd:bc:67:bd  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


iwconfig
Code:

wlp9s0    IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
         
lo        no wireless extensions.

enp8s0    no wireless extensions.

sit0      no wireless extensions.


iwlist scan
Code:

wlp9s0    Scan completed :
          Cell 01 - Address: B0:48:7A:C8:13:70
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=27/70  Signal level=-83 dBm 
                    Encryption key:on
                    ESSID:"TP-LINK_C81370"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000001397c93fa2
                    Extra: Last beacon: 49ms ago
                    IE: Unknown: 000E54502D4C494E4B5F433831333730
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 0706555320010D14
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
          Cell 02 - Address: 02:1B:11:E0:A4:80
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=35/70  Signal level=-75 dBm 
                    Encryption key:on
                    ESSID:"dlink2640u"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000d115b48d6
                    Extra: Last beacon: 49ms ago
                    IE: Unknown: 000A646C696E6B3236343075
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD060010180201F4

lo        Interface doesn't support scanning.

enp8s0    Interface doesn't support scanning.

sit0      Interface doesn't support scanning.


I recognize my router here. )
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Sat Feb 08, 2014 2:38 pm    Post subject: Reply with quote

unplug any wired connection
Code:
/etc/init.d/dbus restart
/etc/init.d/wicd restart

Check /var/log/wicd for a log file. If present, post the contents, use pastebin if lengthy.
use https://wiki.gentoo.org/wiki/Wicd as a check list
Code:
rc-update show
look for reference to net.lo, it should exist. net.anything else should not exist
Code:
rc-status
dbus should be running
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Mon Feb 10, 2014 9:02 pm    Post subject: Reply with quote

http://bpaste.net/show/177752/

"rc-update show" showed no net.lo, but I've added it using "rc-update add net.lo default"
"rc-status" showed dbus running
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Mon Feb 10, 2014 10:30 pm    Post subject: Reply with quote

as root
Code:
wicd-gtk
(emerge it if you do not have it); configure and save your network
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Wed Feb 12, 2014 8:47 pm    Post subject: Reply with quote

I have it. The part of the problem was that that I'd forgoten to enter the names of my interfaces... But now wicd fails obtaining ip-adress when I choose to connect with wire, and wireless still doesn't work anyway. I have dhcpcd installed, but it doesn't start during booting - so it can't interfere, I think. But using dhcpcd helps me to connect wired while wicd still doens't work either dhcpcd started or not.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Thu Feb 13, 2014 12:05 am    Post subject: Reply with quote

wicd should find the interfaces without help. wicd starts wpa_supplicant and dhcpcd. wicd.
Code:
/etc/init.d/wicd restart
What is the result?
Code:
wicd-gtk
What is the result? Specifically, does wicd see the interface?

See if the movie helps http://www.youtube.com/watch?v=6bSN8yZWoxo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Wed Feb 19, 2014 9:04 pm    Post subject: Reply with quote

Sorry for a big delay again...

That is what I get starting wicd-gtk from the command prompt and trying to connect to the wired interface.

Code:

Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.
refreshing...
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/wicd/gtk/gui.py", line 253, in handle_connection_results
    error(self.window, language[results], block=False)
KeyError: dbus.String(u'dhcp_failed')
^CTraceback (most recent call last):
  File "/usr/share/wicd/gtk/wicd-client.py", line 1066, in <module>
    main(sys.argv)
  File "/usr/share/wicd/gtk/wicd-client.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/wicd/gtk/wicd-client.py", line 1062, in main
    mainloop.run()
KeyboardInterrupt


Also my wicd-gtk can't see any wifi access points... Therefore I can suppose it can't see the interface.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Sun Feb 23, 2014 4:30 pm    Post subject: Reply with quote

Code:
eselect python set python2.7
emerge python-updater perl-cleaner
perl-cleaner all
python-updater
emerge -uND world
emerge wicd
revdep-rebuild
emerge libtool
emerge wicd
reboot
report any problems encountered
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Wed Feb 26, 2014 8:31 pm    Post subject: Reply with quote

dev-python/urwid-1.0.2 fails emerging during python-update.

Code:

Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.13.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.13.0-x86_64-Intel-R-_Core-TM-_i7-4702MQ_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     7928824 total,   4086408 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Tue, 18 Feb 2014 22:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-python/urwid-1.0.2 was built with the following:
USE="(multilib) (policykit) -examples -test" ABI_X86="64"


Code:

[ebuild   R   ] dev-python/urwid-1.0.2  USE="-examples {-test}"


http://bpaste.net/show/183081/
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Sat Mar 01, 2014 3:08 am    Post subject: Reply with quote

reference https://forums.gentoo.org/viewtopic-p-7484552.html

Code:
emerge -va =dev-lang/python-3.2.5-r3
eselect python set python3.2
emerge -1va urwid
exchanged the error to lots of syntax errors for me. maybe this sequence will work for you. I do not have urwid installed normally.
Code:
 equery depends urwid
might tell why you have it.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Sun Mar 02, 2014 6:58 pm    Post subject: Reply with quote

That is what I get emerging urwid with a 3.2 version of python.

http://bpaste.net/show/184269/

Code:

localhost mvlabat # equery depends urwid
 * These packages depend on urwid:
net-misc/wicd-1.7.2.4-r2 (ncurses ? dev-python/urwid)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Sun Mar 02, 2014 7:57 pm    Post subject: Reply with quote

Code:
echo "=dev-python/urwid-1.1.2  ~amd64" /etc/package.keywords
eselect python set python3.3
python-updater
as my wicd machine has urwid-1.0.2 on it and had to emerge it at some time past but this up to date machine gets the same errors as you do for urwid-1.0.2 I have to conclude there is an accidental corruption or undocumented change to urwid-1.0.2 . urwid 1.1.2 works fine on both the up to date and the not so much up to date machines .
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Sun Mar 02, 2014 8:00 pm    Post subject: Reply with quote

this has been a long topic. Do note that wicd, networkmanager, and gentoo script networking can not coexist. pick one and eliminate all trace of the other two except for net.lo.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
mvlabat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jan 2014
Posts: 82

PostPosted: Thu Mar 06, 2014 8:28 am    Post subject: Reply with quote

Thank you for your great help. Unfortunately, nothing had helped until I fully reinstalled gentoo.
With correct gentoo install only correct kernel configuration and firmware were needed.
Thank you again )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum