[Voyage-linux] wireless client (usb wireless) - only working if network plugged in
Thomas Stranzl
(spam-protected)
Mon Jun 8 18:51:49 HKT 2009
Hi
On Monday 08 June 2009 03:19:25 Kim-man 'Punky' TSE wrote:
> Which box runs dhcp server that provide dhcp lease to clients?
it´s gargoyle-router (openwrt with webinterface)
On Monday 08 June 2009 Jordi Soucheiron wrote:
>To debug it you could connect to the console using a serial cable and
>exec route and ifconfig. You may find something useful.
Yes, I´m just lacking of a pc with a serial port :) (but will try to manage to find one)
I think, the problem isn´t related with voyage itself. Maybe it´s because the board (alix 2d2) initialize it´s usb ports so late. I experience something similar with the external harddisk. Specifying the drive in fstab isn´t enought to mount it at boot, running a script after bootup with "mount -a" works.
I removed wlan0 from /etc/network/interfaces and added to the post-boot script
sleep 10s
ifconfig wlan0 up
iwconfig ....
wpa_supplicant...
dhcpcd ...
These commands connect to the wireless if I am connected through eth0.
Still, establishing an automatic connect at boot to the wireless only works, if a wired cable is plugged in. Surprisingly the cable doesn´t need to be plugged to the router, it can be even plugged into another (turned on) notebook, without having a dhcp server installed on the notebook. Are there some special scripts started, if there is a cable plugged in the wired port?
For the moment it´s at least working like this (connecting a cable during boot), I´ll try to find a pc with a serial connection within the next days.
regards,
Thomas
> Thomas Stranzl wrote:
> > Hi,
> >
> > I´ve voyage on an Alix board (development version). Connecting over eth0
> > works perfect (if a cable is plugged in, of course :) I´ve bought a
> > Belkin wireless usb stick (as I couldn´t wait a few days for delivering
> > of a mini-pci card...). I recompiled the kernel with the additional
> > driver, and changed /etc/network/interfaces to the following:
> >
> > auto lo
> > iface lo inet loopback
> >
> > auto eth0
> > #iface eth0 inet dhcp
> > iface eth0 inet static
> > address 192.168.1.49
> > netmask 255.255.255.0
> > gateway 192.168.1.1
> >
> > auto wlan0
> > iface wlan0 inet dhcp
> > wpa-ssid myESSID
> > wpa-psk myPASS
> >
> > after booting with eth0 connected, it connects to the access point
> > automatically. SSHing to the acquired dhcp address works.
> >
> > Now - if I have no wire plugged into eth0 - my router shows, that a
> > client has requested a ip address (and it is shown under connected
> > hosts..), but I could neither ssh into or ping the Alix board anymore.
> >
> > Any ideas what´s going on there?
> > best,
> > Thomas
--
GMX FreeDSL mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!
http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a
More information about the Voyage-linux
mailing list