[Wylug-help] Laptop wifi puzzle

Jim Jackson jj at franjam.org.uk
Thu May 15 22:52:43 BST 2008


You have 2 interfaces active to the same subnet, this will cause problems.
Make sure only one of the interfaces, wireless or wired, are active at 
once.

Jim

p.s.
The other piece of information that it is useful to get is the routing 
table,

     route
or  route -n
or  ip route show

Only being able to connect to the local lan and not the internet, usually 
indicates that you have no default route.


On Wed, 14 May 2008, Anne Wilson wrote:

> I've not used wifi on this laptop for a considerable time.  Yesterday I needed
> to do so, but came across something that has me completely baffled.  On a
> wifi connection to my own LAN I could retrieve my mail from the imap server,
> but I couldn't access the Internet.  I couldn't ping Internet IPs.  Worse -
> when I set it to dhcp I got exactly the opposite.  I could access the
> Internet but not my mail server.
>
> This laptop is using Mandriva 2008, fully updated.  I use wpa-psk and static
> addressing.  A cabled connection works as expected, but the wifi one doesn't.
> At one point I tried using dhcp and found that I could connect to the
> Internet - but not to my mail server!
>
> I'm completely baffled.  Surely it should either work or not work?  Half-way
> doesn't make sense.  With both interfaces enable (not how I would expect to
> work) ifconfig shows  mess on eth1.  This is all the info I can gather:
>
> ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:C0:9F:83:F1:B5
>          inet addr:192.168.0.91  Bcast:192.168.0.255  Mask:255.255.255.0
>          inet6 addr: fe80::2c0:9fff:fe83:f1b5/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:630 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:364 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:413894 (404.1 KiB)  TX bytes:46460 (45.3 KiB)
>          Interrupt:16
>
> eth1      Link encap:Ethernet  HWaddr 00:0E:35:E0:08:B9
>          inet addr:192.168.0.95  Bcast:192.168.0.255  Mask:255.255.255.0
>          inet6 addr: fe80::20e:35ff:fee0:8b9/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:129 errors:25 dropped:94 overruns:0 frame:0
>          TX packets:24 errors:0 dropped:0 overruns:0 carrier:1
>          collisions:0 txqueuelen:1000
>          RX bytes:213230 (208.2 KiB)  TX bytes:33067 (32.2 KiB)
>          Interrupt:17 Base address:0xa000 Memory:c8219000-c8219fff
>
> cat /etc/sysconfig/network-scripts/ifcfg-eth1
> DEVICE=eth1
> BOOTPROTO=static
> IPADDR=192.168.0.95
> NETMASK=255.255.255.0
> GATEWAY=192.168.0.1
> ONBOOT=yes
> METRIC=35
> MII_NOT_SUPPORTED=no
> USERCTL=yes
> DNS1=212.23.3.100
> DNS2=212.23.6.100
> RESOLV_MODS=yes
> WIRELESS_MODE=Managed
> WIRELESS_ESSID=Lxxxxx2
> WIRELESS_ENC_KEY="open s:xxxxxxxxxxx"
> WIRELESS_WPA_DRIVER=wext
> IPV6INIT=no
> IPV6TO4INIT=no
>
> cat /etc/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> network={
>    psk="xxxxxx"
>    scan_ssid=1
>    ssid="Lxxxxx2"
> }
>
> I tried adding
>
>    proto=WPA
>    key_mgmt=WPA-PSK
>
> to wpa_supplicant.conf, but it seems to be dynamically overwritten.
>
> Any ideas, please?
>
> Anne
>



More information about the Wylug-help mailing list