You are not logged in.
I'm having trouble getting access to the internet with my ArchLinux laptop and a F@st 3464 router via wireless (WEP). On the other hand, a winxp laptop and the n900 running maemo 5 have no problem to problem to get an internet connection.
My ArchLinux laptop is configured to connect to my home wireless network:
# /etc/rc.conf - Main Configuration for Arch Linux
#
[...]
wlan_eth1="eth1 essid MyWifi key s:XXXXXXXXXXX"
eth1="dhcp"
INTERFACES=(eth1)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
[...]
DAEMONS=(slim syslog-ng network ntpdate netfs crond cpufreq ntpd @alsa @hal @laptop-mode)
### END /etc/rc.conf ###This works fine.
But now in this other place, there's a F@st 3464 modem/router which is giving me headaches:
$ iwlist scanning
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:19:70:29:89:54
ESSID:"MyOtherWifi"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=61/100 Signal level=-64 dBm
Extra: Last beacon: 406ms ago
[...]The router ip is 192.168.1.1, and subnet mask is 255.255.255.0
Dhcp server is active.
Now I try to configure a new wireless connection manually:
$ sudo iwconfig eth1 essid MyOtherWifi key s:XXXXXXXXX
$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"MyOtherWifi"
Mode:Managed Frequency:2.412 GHz Access Point: 00:19:70:29:89:54
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/100 Signal level=-61 dBm Noise level=-91 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:98So far so good. I can see on the F@st 3464 router that the laptop is connected (its mac address is listed).
$ sudo ifconfig eth1 192.168.1.10
$ sudo route add default gw 192.168.1.1
$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr XXXXXXXXXXXXX
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::212:f0ff:fe09:a72c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:37 dropped:37 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:540 (540.0 b)
Interrupt:20 Base address:0x8000 Memory:b8006000-b8006fff
$ ping -c3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.10 icmp_seq=1 Destination Host Unreachable
From 192.168.1.10 icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 icmp_seq=3 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2009ms
pipe 3
$ ping -c3 www.google.com
ping: unknown host www.google.comWhat the heck? I seem to have gotten the wished IP, why can't I connect?
Out of ideas, I try via a dhcp request:
$ sudo dhcpcd -d -t 140 eth1
Password:
dhcpcd: version 5.2.1 starting
dhcpcd: eth1: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd: eth1: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd: eth1: reading lease `/var/lib/dhcpcd/dhcpcd-eth1.lease'
dhcpcd: eth1: rebinding lease of 192.168.1.33
dhcpcd: eth1: sending DHCP_REQUEST (xid 0xb2562539), next in 4.45 seconds
dhcpcd: eth1: sending DHCP_REQUEST (xid 0xb2562539), next in 7.36 seconds
dhcpcd: eth1: broadcasting for a lease
dhcpcd: eth1: sending DHCP_DISCOVER (xid 0xa3ddbccd), next in 4.27 seconds
dhcpcd: eth1: sending DHCP_DISCOVER (xid 0xa3ddbccd), next in 8.36 seconds
dhcpcd: eth1: sending DHCP_DISCOVER (xid 0xa3ddbccd), next in 16.04 seconds
dhcpcd: eth1: sending DHCP_DISCOVER (xid 0xa3ddbccd), next in 32.59 seconds
dhcpcd: eth1: sending DHCP_DISCOVER (xid 0xa3ddbccd), next in 63.92 seconds
dhcpcd: eth1: sending DHCP_DISCOVER (xid 0xa3ddbccd), next in 63.60 seconds
dhcpcd: timed outAny suggestions? (I guess that this must be something stupid, but I'm not knowledgeable enough to have a feeling of what's wrong).
Offline