OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started 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?
-
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]
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]
-
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.
-
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.
--
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]
-
Nope its still by hand - anyone willing to take a stab at this?
-
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.
-
jcabrer - maybe take a look at my ugly python script and use that? (but probally better of to start from scratch.)
-
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?
-
I own a 6000 but basically it just used when a new rom is made to look it works okay.
-
I did it with this, called it wif.sh and put it in /bin
#!/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
[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.
-
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
-
I just want to thank MJO for that wifi script, works like a charm!