[Qt Extended] Wifi works, but no DNS
Lorn Potter
lpotter at trolltech.com
Wed Oct 29 00:29:25 CET 2008
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...]
some of the ifup scripts that are used in OM do not conform to busyboxes sed, which doesn't have the
'quiet' argument.
>
> 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
> -----------------------------------
--
Lorn 'ljp' Potter
Software Engineer, Systems Group, Qt Software, Nokia Pty Ltd
More information about the support
mailing list