Author Topic: How To Setup 6000 Internal Wifi On Rc12?  (Read 6226 times)

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
How To Setup 6000 Internal Wifi On Rc12?
« 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?
-----
SL6000L
ATP 512MB SD

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
How To Setup 6000 Internal Wifi On Rc12?
« Reply #1 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]
-----
SL6000L
ATP 512MB SD

bazmi

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://
How To Setup 6000 Internal Wifi On Rc12?
« Reply #2 on: November 03, 2005, 12:29:20 pm »
have a look at this thread,

pdaxrom 6000L tutorial

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

good luck!

/bazmi.
-------------------------------------------------
6000L, 1G Toshiba CF, 1G Panasonic HiSpeed SD, host of other CF cards
currently with pdaXrom with xfce

rrnwexec

  • Full Member
  • ***
  • Posts: 140
    • View Profile
    • http://
How To Setup 6000 Internal Wifi On Rc12?
« Reply #3 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

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]
--
6000, 5600, 5500, 1000
pdaXrom, OZ/GPE, OZ/Opie, Sharp ROM
Too many gadgets to mention

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
How To Setup 6000 Internal Wifi On Rc12?
« Reply #4 on: November 03, 2005, 04:43:37 pm »
Nope its still by hand - anyone willing to take a stab at this?
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
How To Setup 6000 Internal Wifi On Rc12?
« Reply #5 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.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
How To Setup 6000 Internal Wifi On Rc12?
« Reply #6 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.)
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
How To Setup 6000 Internal Wifi On Rc12?
« Reply #7 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?
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
How To Setup 6000 Internal Wifi On Rc12?
« Reply #8 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.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

Mjolinor

  • Full Member
  • ***
  • Posts: 227
    • View Profile
How To Setup 6000 Internal Wifi On Rc12?
« Reply #9 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.
« Last Edit: November 07, 2005, 06:30:53 am by Mjolinor »

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
How To Setup 6000 Internal Wifi On Rc12?
« Reply #10 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
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

rollfaster

  • Newbie
  • *
  • Posts: 33
    • View Profile
How To Setup 6000 Internal Wifi On Rc12?
« Reply #11 on: November 17, 2005, 10:43:06 pm »
I just want to thank MJO for that wifi script, works like a charm!  
SL-c1000 / cacko 1.23 / Symbol cf wireless card / 1gb San Disk cf card / 1gb Kingston sd card / iriver usb host cable