[Qt Extended] Wifi works, but no DNS

Jette Derriche jette at nerdgirl.dk
Wed Oct 29 00:26:46 CET 2008


Of cause... 5 minutes after I sent the below mail, it started working...
Now I need to figure out what I've done right :-)

/Jette

On Wed, 2008-10-29 at 00:19 +0100, Jette Derriche wrote:
> On Tue, 2008-10-28 at 19:37 +0100, Jette Derriche wrote:
> > I have configured Wireless LAN, and it seems to work. At least it says
> > "Online" under Settings -> Internet. But initially it says "pending..."
> > and then after a while it says "offline". I go into "properties" and
> > select "Wireless Encryption". I don't change anything.. then press
> > "back", and then it says "Online"...
> 
> Clearly something is not right:
> 
> ~# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags  Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U      usb0
> 169.254.0.0     0.0.0.0         255.255.0.0     U      eth0
> 0.0.0.0         192.168.0.200   0.0.0.0         UG     usb0
> 
> (I removed the Metric, Ref and Use columns, since they are all zero)
> 
> Apparently the GUI adds double quotes to the key...
> 
> ----------------------------------------------------------
> # ifup eth0
> sed: unrecognized option `--quiet'
> BusyBox v1.11.1 (2008-08-05 02:00:09 CEST) multi-call binary
> 
> Usage: sed [-efinr] pattern [files...]
> 
> WPA: Configuring Interface
> Line 9: Too long WEP key 0 '"3a9b7xxxxxxxxxxxxxxefad62a'.
> Line 9: failed to parse wep_key0 '"3a9b7xxxxxxxxxxxxxxefad62a'.
> Line 11: failed to parse network block.
> Failed to read or parse configuration
> '/etc/wpa_supplicant/wpa_supplicant.conf'.
> wpa_supplicant: /usr/sbin/wpa_supplicant daemon failed to start
> ----------------------------------------------------------
> 
> The error disappeared when I removed the quotes around the key in
> wpa_supplicant.conf ... 
> 
> This is a bit frustrating:
> 
> ----------------------------------------------------------
> root at om-gta02:~# ifup eth0  
> ifup: interface eth0 already configured
> root at om-gta02:~# ifdown eth0
> cat: can't open '/var/run/udhcpc.eth0.pid': No such file or directory
> root at om-gta02:~# touch /var/run/udhcpc.eth0.pid
> root at om-gta02:~# ifdown eth0
> ifdown: interface eth0 not configured
> ----------------------------------------------------------
> 
> But aside from that, now I get this:
> 
> ----------------------------------------------------------
> root at om-gta02:~# ifup eth0
> sed: unrecognized option `--quiet'
> BusyBox v1.11.1 (2008-08-05 02:00:09 CEST) multi-call binary
> 
> Usage: sed [-efinr] pattern [files...]
> 
> WPA: Configuring Interface
> Failed to connect to wpa_supplicant - wpa_ctrl_open: Connection refused
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> ioctl[SIOCSIWENCODEEXT]: Operation not supported
> udhcpc (v1.11.1) started
> Sending discover...
> Sending discover...
> Sending discover...
> No lease, failing
> ----------------------------------------------------------
> 
> My config files:
> 
> ----------------------------------------------------------
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> 
> # The loopback interface
> auto lo
> iface lo inet loopback
> 
> # Wireless interfaces
> iface wlan0 inet dhcp
> wireless_mode managed
> wireless_essid any
> iface atml0 inet dhcp
> 
> # Wired or wireless interfaces
> iface eth0 inet dhcp
>     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
>                     
> iface eth1 inet dhcp
>                                  
> # Ethernet/RNDIS gadget (g_ether)              
> # ... or on host side, usbnet and random hwaddr
> auto usb0             
> iface usb0 inet static       
>         address 192.168.0.202
>         netmask 255.255.255.0
>         network 192.168.0.0  
>         gateway 192.168.0.200
>                       
> # Bluetooth networking
> iface bnep0 inet dhcp
> -----------------------------------------------------------
> 
> -----------------------------------------------------------
> ctrl_interface=/var/lib/wpa_supplicant
> ctrl_interface_group=0
> eapol_version=1
> fast_reauth=1
> ap_scan=1
> network={
>     ssid="OMNIX"
>     wep_key0=3a9b7xxxxxxxxxxxxxxefad62a
>     key_mgmt=NONE
> }
> -----------------------------------------------------------
> 
> I have also tried iwconfig with no luck....
> Adding the IP of my router or openDNS nameservers to resolv.conf, does
> not help either...
> 
> Any ideas?
> 
> /Jette
> 
> 
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support




More information about the support mailing list