OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: rrnwexec on March 22, 2006, 02:30:33 am

Title: 3.5.4 Internal Wifi On 6000?
Post by: rrnwexec on March 22, 2006, 02:30:33 am
Hi,

Can anyone suggest a reliable way to configure the 6000 to use internal wifi? I tried the "Network Setup" app  under "Settings" in GPE, but the settings I made there don't seem to have an effect.

Thanks in advance.

Settings I made were as follows:
Code: [Select]
Interface wlan0 Settings
dhcp <.>
Hostname (blank)

WiFi device
WiFi config for wlan0
ESSID   MYNETWORK
Mode (.) managed
Channel (blank)
WEP (.) open
(.) Key 1 0x1234567890
( ) Key 2  (blank)
( ) Key 3  (blank)
( ) Key 4  (blank)


#ifup wlan0
[CODE]Error for wireless request "Set ESSID" (8B1A) :
    Set failed on device wlan0 ; No such device.
Error for wireless request "Set Encode" (8B2A) :
    Set failed on device wlan0 ; No such device.
Error for wireless request "Set Mode" (8B06) :
    Set failed on device wlan0 ; No such device.
udhcpc (v0.9.9-pre) started
SIOCGIFINDEX failed!: No such device
[/CODE]
Title: 3.5.4 Internal Wifi On 6000?
Post by: rrnwexec on March 22, 2006, 10:33:54 am
Ok. I figured this one out...

If you are using 3.5.4 with GPE on a 6000, do not use the "Network Setup" app. It will overwrite the wireless configuration file in a way that breaks internal wifi.

Instead, modify the file /etc/network/interfaces based on the sample parameters that are already in that file, uncommenting out the pertinent lines.

Best Regards,
Randall.
Title: 3.5.4 Internal Wifi On 6000?
Post by: adf on March 22, 2006, 08:03:51 pm
how are you starting wifi? with a gui or with a command?
Title: 3.5.4 Internal Wifi On 6000?
Post by: rrnwexec on March 22, 2006, 11:16:52 pm
Quote
how are you starting wifi? with a gui or with a command?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119844\"][{POST_SNAPBACK}][/a][/div]

Unfortunately, I can only start the wifi via command line, as root:

ifup wlan0


This and the configuration bug above is likely a barrier to some getting more involved in OZ. If only there were an easy way to configure and start/stop interfaces...

Cheers,
Randall
Title: 3.5.4 Internal Wifi On 6000?
Post by: adf on March 23, 2006, 02:19:46 am
easier to just pop a menu entry into icewm on pdaX, really. Thanks
Title: 3.5.4 Internal Wifi On 6000?
Post by: CoreDump on March 23, 2006, 03:45:41 am
Quote
Ok. I figured this one out...

If you are using 3.5.4 with GPE on a 6000, do not use the "Network Setup" app. It will overwrite the wireless configuration file in a way that breaks internal wifi.

Instead, modify the file /etc/network/interfaces based on the sample parameters that are already in that file, uncommenting out the pertinent lines.

Best Regards,
Randall.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119779\"][{POST_SNAPBACK}][/a][/div]

Could you post a working version of /etc/network/interfaces for your Tosa's internal WiFi?
Title: 3.5.4 Internal Wifi On 6000?
Post by: rrnwexec on March 23, 2006, 04:46:03 pm
Quote
Could you post a working version of /etc/network/interfaces for your Tosa's internal WiFi?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119896\"][{POST_SNAPBACK}][/a][/div]

Here you go...

Network name is SPOOKYNET, configured with 64 (40) bit WEP. WEP key entered in hex.
wlan0 is the internal Tosa (SL-6000L) wifi interface.

Code: [Select]
# /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_type wlan-ng
    wireless_mode managed
    wireless_ng_default_key_id 0
        wlan_ng_key0 45:4f:22:e4:21
    wireless_essid SPOOKYNET
        wireless_enc on
  pre-up modprobe prism2_usb
  pre-up /sbin/usbctl on 1
  post-down /sbin/usbctl off 1
  post-down rmmod prism2_usb

# Wired or wireless interfaces
iface eth0 inet dhcp
iface eth1 inet dhcp

# Zaurus usbnet
iface usbd0 inet dhcp

# usbnet from the other side
iface usb0 inet dhcp
Title: 3.5.4 Internal Wifi On 6000?
Post by: rrnwexec on March 23, 2006, 04:51:47 pm
Quote
easier to just pop a menu entry into icewm on pdaX, really. Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119882\"][{POST_SNAPBACK}][/a][/div]

There's probably an esay way to add a launcher to the OZ/GPE desktop, but I'll defer to the GPE experts for guidance on how to do that.

Maybe someone well-versed in GPE can write a little applet that fixes the 6000 Tosa wifi config and interface start/stop issues once and for all. That would be a big plus.

Cheers,
Randall.
Title: 3.5.4 Internal Wifi On 6000?
Post by: vorondil28 on March 23, 2006, 05:48:42 pm
Quote
There's probably an esay way to add a launcher to the OZ/GPE desktop, but I'll defer to the GPE experts for guidance on how to do that.
I've been wanting to do that for a while but haven't bothered to try it yet.  If nobody posts how to do it, I'll take a crack at it this weekend and post the results.  I've poked around the GPE docs a little but didn't see anything about it.  It might be a matchbox thing though, I'm not sure.

Quote
Maybe someone well-versed in GPE can write a little applet that fixes the 6000 Tosa wifi config and interface start/stop issues once and for all. That would be a big plus.
Indeed.  Maybe someone could start a bounty for it.  :-p  I'd certainly drop a few bucks in if it ment having the internal wireless on the 6000L/W's working 100% without having to drop into rxvt.
Title: 3.5.4 Internal Wifi On 6000?
Post by: adf on March 23, 2006, 06:30:12 pm
this has been mentioned repeatedly since there has been a gpe for the 6000.  possibly it is difficult to do?