OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jbruno on November 02, 2005, 11:41:00 pm

Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: jbruno on November 02, 2005, 11:41:00 pm
Awesome ROM! Still trying to set it up and am having trouble with the built-in wireless.

I tried looking around in these forums, but everything seems to say I should use the "System Tools/LAN& WIFI" utility (network.py).  I tried setting up my WEP network in there (after 'usbctl on 1'), but when I hit "OK", it doesn't work.  Here's what I see in /var/log/messages:

/sbin/hotplug: no runnable /etc/hotplug/wlan.agent is installed
/sbin/hotplug/net.agent: how do I bring interfaces up on this distro?
/sbin/hotplug/net.agent: register event not handled
/sbin/hotplug/net.agent: Setup prism2_usb for USB product 0/0/0

Here's 'ifconfig -a'"
lo ...

wlan0  Link encap:Ethernet HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500 Metric:1
          (RX packets/TX packets all 0)

And when I enter "usbctl off 1" I see this in /var/log/messages:

/sbin/hotplug: no runnable /etc/hotplug/wlan.agent is installed
/sbin/hotplug/net.agent: NET unregister event not supported

What am I missing?
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: jbruno on November 02, 2005, 11:48:43 pm
I forgot to add in the previous note what shows with "lsmod" so here that is:

Module                Used by
pxa_bi                (unused)
net_fd                 (unused)
usbdcore             [pxa_bi net_fd]
prism2_usb         (unused)
p80211               [prism2_usb]
mousedev
usbdmonitor
sharp_mmcsd_m
usb_ohci_tc6393
usbcore               [prism2_usb usb_ohci_tc6393]


Quote
Awesome ROM! Still trying to set it up and am having trouble with the built-in wireless.

I tried looking around in these forums, but everything seems to say I should use the "System Tools/LAN& WIFI" utility (network.py).  I tried setting up my WEP network in there (after 'usbctl on 1'), but when I hit "OK", it doesn't work.  Here's what I see in /var/log/messages:

/sbin/hotplug: no runnable /etc/hotplug/wlan.agent is installed
/sbin/hotplug/net.agent: how do I bring interfaces up on this distro?
/sbin/hotplug/net.agent: register event not handled
/sbin/hotplug/net.agent: Setup prism2_usb for USB product 0/0/0

Here's 'ifconfig -a'"
lo ...

wlan0  Link encap:Ethernet HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500 Metric:1
          (RX packets/TX packets all 0)

And when I enter "usbctl off 1" I see this in /var/log/messages:

/sbin/hotplug: no runnable /etc/hotplug/wlan.agent is installed
/sbin/hotplug/net.agent: NET unregister event not supported

What am I missing?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101992\"][{POST_SNAPBACK}][/a][/div]
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: bazmi on November 03, 2005, 12:29:20 pm
have a look at this thread,

pdaxrom 6000L tutorial (https://www.oesf.org/forums/index.php?showtopic=14462&hl=6000l)

the first post has clear instructions on enabling internal wifi. i can confirm that the procedure works for rc12.

good luck!

/bazmi.
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: rrnwexec on November 03, 2005, 02:20:09 pm
Has RC12 eliminated the need to do this configuration manually? I was hoping that an easier way has been created, ideally using the GUI control panel... Can anyone confirm?

Thanks in advance.

--

Quote
have a look at this thread,

pdaxrom 6000L tutorial (https://www.oesf.org/forums/index.php?showtopic=14462&hl=6000l)

the first post has clear instructions on enabling internal wifi. i can confirm that the procedure works for rc12.

good luck!

/bazmi.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=102100\"][{POST_SNAPBACK}][/a][/div]
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: Laze on November 03, 2005, 04:43:37 pm
Nope its still by hand - anyone willing to take a stab at this?
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: jcabrer on November 03, 2005, 07:33:17 pm
Quote
Nope its still by hand - anyone willing to take a stab at this?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=102144\"][{POST_SNAPBACK}][/a][/div]

I'll take a look-see at this.  I had gotten so used to it that it never occured to me to try and fix it.
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: Laze on November 04, 2005, 12:50:11 am
jcabrer - maybe take a look at my ugly python script and use that? (but probally better of to start from scratch.)
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: jcabrer on November 04, 2005, 11:58:07 am
Quote
jcabrer - maybe take a look at my ugly python script and use that? (but probally better of to start from scratch.)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=102194\"][{POST_SNAPBACK}][/a][/div]

Well, I see the problem now.  The python script does not believe in USB.  Only looking for PCMCIA.  It will take me a while to go through this, but I don't think it will be too difficult to fix.

Laze:  When I'm done, I'll send you the modified script.  This might be a silly question, but do any of the developers own a 6000?
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: Laze on November 07, 2005, 03:10:47 am
I own a 6000 but basically it just used when a new rom is made to look it works okay.
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: Mjolinor on November 07, 2005, 06:25:43 am
I did it with this, called it wif.sh and put it in /bin
Quote
#!/bin/sh

ONOFF=`lsmod | grep 802 | sed -n -e 's/.*/on/p'`

case "$ONOFF" in
    on)
     killall dhcpcd
     /etc/rc.d/init.d/wlan stop
     ifconfig
     ;;
     *)
     killall dhcpcd
     /etc/rc.d/init.d/wlan start
     dhcpcd wlan0
     ifconfig
     ;;
esac

and made a *.desktop file in /usr/share/applications called wlan.desktop like this
Quote
[Desktop Entry]
Name=Wireless
Comment=WLAN
Exec=wif.sh
Icon=broken-0.png
Terminal=0
Type=Application
Categories=Applications
StartupNotify=False
SingleInstance=False

restarted X and added it to my taskbar. One click starts the wlan another click stops it. It probably breaks all kinds of rules as I know nothing about bash scripting, just read up on "grep", "sed" and "case" and wrote it.
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: smuelas on November 15, 2005, 08:59:20 am
I have installed yesterday pdaXrom for the first time in my SL-6000.
Once done and after trying the specific icon for setting the wlan with no luck, I did simply:

/etc/rc.d/init.d/wlan start

and then:

ifconfig wlan0 192.168.0.xxx netmask 255.255.255.0
route add default gw 192.168.0.xxx

and everything worked wonderfully. I put the three lines in a script and I tested several times with good results always.

To shutdown wlan: /etc/rc.d/init.d/wlan stop

smuelas
Title: How To Setup 6000 Internal Wifi On Rc12?
Post by: rollfaster on November 17, 2005, 10:43:06 pm
I just want to thank MJO for that wifi script, works like a charm!