Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] wlan0 disappeared
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dgiorgio
n00b
n00b


Joined: 24 Jun 2012
Posts: 68

PostPosted: Thu Mar 28, 2013 10:48 pm    Post subject: [solved] wlan0 disappeared Reply with quote

I always connected the interface wlan0.

I enabled in kernel "Device Drivers > Network device support > Universal TUN/TAP device driver support"

compiled and installed the kernel, rebooted the PC.

I added "openconnect" in USE variable.

ran emerge

Code:
emerge -uNDv world && emerge -c


thereafter disappeared wlan0

I did the reverse process, the problem continues.

Quote:

# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.11 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::2e0:4cff:fe0c:432e prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:0c:43:2e txqueuelen 1000 (Ethernet)
RX packets 9483 bytes 4812147 (4.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9383 bytes 2253761 (2.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

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 (Loopback Local)
RX packets 186 bytes 14848 (14.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 186 bytes 14848 (14.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

sit0: flags=128<NOARP> mtu 1480
sit txqueuelen 0 (IPv6 sobre IPv4)
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

vmnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.180.1 netmask 255.255.255.0 broadcast 192.168.180.255
inet6 fe80::250:56ff:fec0:1 prefixlen 64 scopeid 0x20<link>
ether 00:50:56:c0:00:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 61 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vmnet8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.16.19.1 netmask 255.255.255.0 broadcast 172.16.19.255
inet6 fe80::250:56ff:fec0:8 prefixlen 64 scopeid 0x20<link>
ether 00:50:56:c0:00:08 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 61 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



Quote:

# iwconfig
vmnet8 no wireless extensions.

eth0 no wireless extensions.

lo no wireless extensions.

sit0 no wireless extensions.

vmnet1 no wireless extensions.



Quote:

# emerge --info
Portage 2.1.11.59 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.16.0, 3.8.4-gentoo x86_64)
=================================================================
System uname: Linux-3.8.4-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.2
KiB Mem: 2812636 total, 1009816 free
KiB Swap: 4538664 total, 4538664 free
Timestamp of tree: Thu, 28 Mar 2013 01:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/ccache: 3.1.9
dev-util/cmake: 2.8.10.2-r1
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.2-r1
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc: 2.16.0
Repositories: gentoo calculate gamerlay java-overlay pcsx2 zugaina regen2-overlay x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet --autounmask-write y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.lcc.ufmg.br"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/var/lib/layman/calculate /var/lib/layman/gamerlay /var/lib/layman/java-overlay /var/lib/layman/pcsx2 /var/lib/layman/zugaina /var/lib/layman/regen2-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="1stclassmsg 32bit 3dnow 3dnowext 64bit X a52 aac aalib acc acl acpi additions alsa amd64 animgif ao apng aspell berkdb bl bluetooth branding bzip2 cairo caps cdparanoia cdr cli color-console connection-sharing consolekit corefonts cracklib crypt cups curl cxx dbus declarative development dhcpcd directfb dri dts dvb dvd dvdr embedded encode esd exif extensions external-fuse extras fbcon ffmpeg flac font-styles fontconfig fontforge fonts fortran gd gdbm ggi gif git glib gphoto2 gpm gtk gtkstyle gudev hal hddtemp hdri hunspell hwdb i8x0 iconv icu iostats ipv6 java joystick jpeg kde keymap laptop libass libcaca libkms libnotify libv4l libv4l2 live lm_sensors lock lua-cairo lua-imlib lzma lzo mad matroska matrox md5sum mercurial minizip mmx mmxext modules mono mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib musepack nas ncurses networkmanager nls nptl nsplugin ntfs ntp ogg openal opengl openmp openntpd orc osmesa pam pango pcre pdf plasma png policykit ppds ppp pulseaudio python qrcode qt3support qt4 quicktime rar rdesktop rdesktop-vrdp readline realtime resolvconf rtc samba savedconfig scanner sdl server session skins smp source speex spell sql sse sse2 sse2check sse3 sse4 sse4_1 sse4a ssl ssse3 startup-notification subversion suid svg swat symlink tcpd theora threads thumbnail thunar tiff truetype udev udisks unicode upnp usb utils v4l v4l2 vaapi video videos vmware-tools vmware_guest_linux vmware_guest_winPre2k vmware_guest_windows vorbis wifi wxwidgets wxwindows x264 xanim xcomposite xdiv xft xinerama xml xorg xosd 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="sonix" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR pt pt_PT en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="brightness clock logout trash" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



Last edited by dgiorgio on Fri Mar 29, 2013 3:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
dgiorgio
n00b
n00b


Joined: 24 Jun 2012
Posts: 68

PostPosted: Fri Mar 29, 2013 1:13 am    Post subject: Reply with quote

Quote:

# modprobe rtl8192se
# lsmod
Module Size Used by
iptable_nat 2694 0
nf_nat_ipv4 3416 1 iptable_nat
nf_nat 12566 2 nf_nat_ipv4,iptable_nat
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Mar 29, 2013 1:50 am    Post subject: Reply with quote

Can you provide some outputs? Does the driver use firmware, are you using >=sys-fs/udev-199-r1 where USE="firmware-loader" is optional? Anything in /sys/class/net/*
Are you using new enough udev so that the predictable names could be used instead? Is the emerge of sys-fs/udev saying any warnings about leftover files, or anything else
in the end? It has various checks for possible old conflicting configuration files for example.

Some push to right direction, I hope:

Code:

# emerge -pv sys-fs/udev
# rmmod rtl8192se
# modprobe rtl8192se
# dmesg
# ls -l /sys/class/net/*
# udevadm test-builtin net_id /sys/class/net/wlan0 2> /dev/null
# ls -l /etc/udev/rules.d/*


Last edited by SamuliSuominen on Fri Mar 29, 2013 1:51 am; edited 1 time in total
Back to top
View user's profile Send private message
dgiorgio
n00b
n00b


Joined: 24 Jun 2012
Posts: 68

PostPosted: Fri Mar 29, 2013 1:51 am    Post subject: Reply with quote

I want to remove everything related to the kernel.

I removed the "/lib64/modules"

remove the "/sys/modules" would be a good idea?
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Mar 29, 2013 1:52 am    Post subject: Reply with quote

dgiorgio wrote:
I want to remove everything related to the kernel.

I removed the "/lib64/modules"

remove the "/sys/modules" would be a good idea?


Err, /proc and /sys gets created by the kernel you are running, don't delete anything there ... no point
Back to top
View user's profile Send private message
dgiorgio
n00b
n00b


Joined: 24 Jun 2012
Posts: 68

PostPosted: Fri Mar 29, 2013 2:27 am    Post subject: Reply with quote

before doing the procedure, updated the gentoo.

I saw that udev was updated.

wlan0 is working again.

thanks
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Mar 29, 2013 5:00 am    Post subject: Reply with quote

dgiorgio wrote:
before doing the procedure, updated the gentoo.

I saw that udev was updated.

wlan0 is working again.

thanks


add [solved] to the subject if you have time. thanks!
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Fri Mar 29, 2013 10:33 am    Post subject: Reply with quote

ssuominen wrote:
Does the driver use firmware, are you using >=sys-fs/udev-199-r1 where USE="firmware-loader" is optional?

This was what bit me when I merged world last night, which upgraded udev from 197-r9 to 199-r1. I didn't have the firmware-loader USE flag set before and it didn't matter for udev-197-r8 but certainly did for udev-199-r1. The dmesg command showed me that the firmware for my Intel Ultimate N WiFi Link 5300 wireless controller was not being loaded, and wlan0 was completely absent. Adding firmware-loader to the sys-fs/udev entry in /etc/portage/package.use and rebuilding udev solved the problem.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Mar 29, 2013 10:37 am    Post subject: Reply with quote

Fitzcarraldo wrote:
ssuominen wrote:
Does the driver use firmware, are you using >=sys-fs/udev-199-r1 where USE="firmware-loader" is optional?

This was what bit me when I merged world last night, which upgraded udev from 197-r9 to 199-r1. I didn't have the firmware-loader USE flag set before and it didn't matter for udev-197-r8 but certainly did for udev-199-r1. The dmesg command showed me that the firmware for my Intel Ultimate N WiFi Link 5300 wireless controller was not being loaded, and wlan0 was completely absent. Adding firmware-loader to the sys-fs/udev entry in /etc/portage/package.use and rebuilding udev solved the problem.


Nod. The USE="firmware-loader" is enabled by default in the ebuild so only users of USE="-*" should have issues (and that's what the users of -* asked for, to not be handheld at all).
I don't think we can disable it anytime soon, since the kernel firmware loader is only in 3.7'ish, well, properly in 3.8/3.9. So leaving it enabled by default for few years, I hope they
don't completely remove it (I mean the upstream maintainers, not the Gentoo maintainers)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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