From: Bruce Hill <daddy@happypenguincomputers.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] wifi connection problem
Date: Sat, 21 Sep 2013 10:08:36 -0500 [thread overview]
Message-ID: <20130921150836.GK25579@server> (raw)
After moving from one location to another, changing ISPs from Metrocast to
Comcast, we're having connectivity issues. But let me just state the problem
with the wife's PC, peter. (My laptop, baruch, works with a static IP using
wicd...nothing has worked using DHCP in Gentoo since moving to Comcast.)
It can connect with a wire, but not wireless, using /etc/conf.d/net and
wpa_supplicant.conf
dmesg output:
<snip>
[ 4.598076] systemd-udevd[1214]: starting version 204
[ 5.211658] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.211965] r8712u: Staging version
[ 5.211976] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 5.211980] usb 1-2: r8712u: USB_SPEED_HIGH with 4 endpoints
[ 5.212463] usb 1-2: r8712u: Boot from EFUSE: Autoload OK
[ 5.933140] usb 1-2: r8712u: CustomerID = 0x0000
[ 5.933145] usb 1-2: r8712u: MAC Address from efuse = 94:44:52:de:38:44
[ 5.933147] usb 1-2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 5.933232] usbcore: registered new interface driver r8712u
[ 7.116650] Adding 1951860k swap on /dev/sda5. Priority:-1 extents:1 across:1951860k
[ 7.153107] XFS (sda2): Mounting Filesystem
[ 7.295342] XFS (sda2): Ending clean mount
[ 7.330984] XFS (sda3): Mounting Filesystem
[ 7.469806] XFS (sda3): Ending clean mount
[ 10.118645] r8712u 1-2:1.0 wlan0: 1 RCR=0x153f00e
[ 10.119365] r8712u 1-2:1.0 wlan0: 2 RCR=0x553f00e
[ 10.469578] r8169 0000:01:00.0 eth0: link down
[ 10.469589] r8169 0000:01:00.0 eth0: link down
[ 12.615465] r8169 0000:01:00.0 eth0: link up
peter ~ # egrep -v "(^#|^ *$)" /etc/conf.d/net
config_wlan0="192.168.11.75 netmask 255.255.255.0"
modules_wlan0="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
dns_servers_wlan0="4.2.2.1 4.2.2.2 8.8.8.8 192.168.11.1"
routes_wlan0="default via 192.168.11.1"
config_eth0="192.168.11.55 netmask 255.255.255.0"
dns_servers_eth0="4.2.2.1 4.2.2.2 8.8.8.8 192.168.11.1"
routes_eth0="default via 192.168.11.1"
peter ~ # cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#ap_scan=0
#update_config=1
network={
ssid="0024A5F5271E"
#psk="<munged>"
psk=<munged>
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
group=CCMP TKIP
pairwise=CCMP TKIP
# priority=5
}
peter ~ # ls -l /etc/init.d/net.*
lrwxrwxrwx 1 root root 6 Sep 16 09:35 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 16919 Dec 9 2012 /etc/init.d/net.lo
lrwxrwxrwx 1 root root 6 Sep 21 07:05 /etc/init.d/net.wlan0 -> net.lo
peter ~ # rc-update show
bootmisc | boot
dcron | default
devfs | sysinit
dmesg | sysinit
fsck | boot
gpm | default
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
local | default
localmount | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.eth0 | default
net.lo | boot
net.wlan0 | default
netmount | default
procfs | boot
root | boot
savecache | shutdown
sshd | default
swap | boot
swapfiles | boot
sysctl | boot
sysfs | sysinit
syslog-ng | default
teamviewerd8 | default
termencoding | boot
tmpfiles.setup | boot
udev | sysinit
udev-mount | sysinit
urandom | boot
wpa_supplicant | default
peter ~ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether bc:ae:c5:48:27:ef brd ff:ff:ff:ff:ff:ff
inet 192.168.11.55/24 brd 192.168.11.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 94:44:52:de:38:44 brd ff:ff:ff:ff:ff:ff
NB: To ssh into peter from baruch and get this info, I had to del net.wlan0
from the default runlevel. Otherwise, I couldn't get sshd to start:
Sep 21 10:01:05 peter kernel: 4.598076] systemd-udevd[1214]: starting version 204
Sep 21 10:01:05 peter kernel: [ 5.211658] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
Sep 21 10:01:05 peter kernel: [ 5.211965] r8712u: Staging version
Sep 21 10:01:05 peter kernel: [ 5.211976] r8712u: register rtl8712_netdev_ops to netdev_ops
Sep 21 10:01:05 peter kernel: [ 5.211980] usb 1-2: r8712u: USB_SPEED_HIGH with 4 endpoints
Sep 21 10:01:05 peter kernel: [ 5.212463] usb 1-2: r8712u: Boot from EFUSE: Autoload OK
Sep 21 10:01:05 peter kernel: [ 5.933140] usb 1-2: r8712u: CustomerID = 0x0000
Sep 21 10:01:05 peter kernel: [ 5.933145] usb 1-2: r8712u: MAC Address from efuse = 94:44:52:de:38:44
Sep 21 10:01:05 peter kernel: [ 5.933147] usb 1-2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
Sep 21 10:01:05 peter kernel: [ 5.933232] usbcore: registered new interface driver r8712u
Sep 21 10:01:05 peter kernel: [ 7.116650] Adding 1951860k swap on /dev/sda5. Priority:-1 extents:1 across:1951860k
Sep 21 10:01:05 peter kernel: [ 7.153107] XFS (sda2): Mounting Filesystem
Sep 21 10:01:05 peter kernel: [ 7.295342] XFS (sda2): Ending clean mount
Sep 21 10:01:05 peter kernel: [ 7.330984] XFS (sda3): Mounting Filesystem
Sep 21 10:01:05 peter kernel: [ 7.469806] XFS (sda3): Ending clean mount
Sep 21 10:01:05 peter crond[1681]: /usr/sbin/crond 4.5 dillon's cron daemon, started with loglevel notice
Sep 21 10:01:05 peter /usr/sbin/gpm[1694]: *** info [daemon/startup.c(136)]:
Sep 21 10:01:05 peter /usr/sbin/gpm[1694]: Started gpm successfully. Entered daemon mode.
Sep 21 10:01:06 peter kernel: [ 10.118645] r8712u 1-2:1.0 wlan0: 1 RCR=0x153f00e
Sep 21 10:01:06 peter kernel: [ 10.119365] r8712u 1-2:1.0 wlan0: 2 RCR=0x553f00e
Sep 21 10:01:06 peter kernel: [ 10.469578] r8169 0000:01:00.0 eth0: link down
Sep 21 10:01:06 peter kernel: [ 10.469589] r8169 0000:01:00.0 eth0: link down
Sep 21 10:01:06 peter /etc/init.d/net.wlan0[1925]: start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'
Sep 21 10:01:06 peter /etc/init.d/net.wlan0[1850]: ERROR: net.wlan0 failed to start
Sep 21 10:01:06 peter /etc/init.d/netmount[1932]: ERROR: cannot start netmount as net.wlan0 would not start
Sep 21 10:01:07 peter /etc/init.d/sshd[1933]: ERROR: cannot start sshd as net.wlan0 would not start
Sep 21 10:01:08 peter kernel: [ 12.615465] r8169 0000:01:00.0 eth0: link up
Sep 21 10:02:33 peter sudo: anna : TTY=pts/0 ; PWD=/home/anna ; USER=root ; COMMAND=/bin/bash
Sep 21 10:02:44 peter /etc/init.d/net.wlan0[2232]: start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'
Sep 21 10:02:44 peter /etc/init.d/net.wlan0[2157]: ERROR: net.wlan0 failed to start
Sep 21 10:02:44 peter /etc/init.d/sshd[2156]: ERROR: cannot start sshd as net.wlan0 would not start
Sep 21 10:03:33 peter /etc/init.d/net.wlan0[2333]: start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'
Sep 21 10:03:33 peter /etc/init.d/net.wlan0[2258]: ERROR: net.wlan0 failed to start
Sep 21 10:03:33 peter /etc/init.d/sshd[2257]: ERROR: cannot start sshd as net.wlan0 would not start
Sep 21 10:03:49 peter sshd[2362]: Server listening on 0.0.0.0 port 22.
Sep 21 10:04:13 peter sshd[2377]: SSH: Server;Ltype: Version;Remote: 192.168.11.77-50656;Protocol: 2.0;Client: OpenSSH_5.9p1-hpn13v11
Sep 21 10:04:13 peter sshd[2377]: SSH: Server;Ltype: Kex;Remote: 192.168.11.77-50656;Enc: aes128-ctr;MAC: hmac-md5;Comp: none [preauth]
Sep 21 10:04:13 peter sshd[2377]: SSH: Server;Ltype: Authname;Remote: 192.168.11.77-50656;Name: mingdao [preauth]
Sep 21 10:04:16 peter sshd[2377]: Accepted password for mingdao from 192.168.11.77 port 50656 ssh2
Sep 21 10:04:16 peter sshd[2377]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Sep 21 10:04:16 peter sshd[2377]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
And the present status of services:
peter ~ # rc-status
Runlevel: default
syslog-ng [ started ]
wpa_supplicant [ started ]
net.eth0 [ started ]
netmount [ stopped ]
dcron [ started ]
gpm [ started ]
sshd [ started ]
teamviewerd8 [ started ]
local [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
Dynamic Runlevel: manual
What can I do to get wifi working on peter w/out using wicd?
Cheers,
Bruce
--
Happy Penguin Computers >')
126 Fenco Drive ( \
Tupelo, MS 38801 ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
next reply other threads:[~2013-09-21 15:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-21 15:08 Bruce Hill [this message]
2013-09-21 16:31 ` [gentoo-user] wifi connection problem Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130921150836.GK25579@server \
--to=daddy@happypenguincomputers.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox