OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

7 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> 1.0rc3 Released
rip
post Oct 24 2005, 04:17 AM
Post #16





Group: Members
Posts: 80
Joined: 7-October 04
Member No.: 4,916



i suposed its in /etc/wlan/wlan.conf

but this file is empty, only the usual text... normal?
Go to the top of the page
 
+Quote Post
orodriguez
post Oct 24 2005, 04:32 AM
Post #17





Group: Members
Posts: 19
Joined: 17-October 04
Member No.: 5,065



Regarding wifi.

To connect to a WEP enabled network I used this script:

CODE
ZAURUSIP=192.168.0.15
GATEIP=192.168.0.1
MYWLAN=NETESSID
WEPEY=XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=1            
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true      
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true          
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=$WEPKEY
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey1=$WEPKEY
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey2=$WEPKEY
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey3=$WEPKEY
wlanctl-ng wlan0 lnxreq_autojoin ssid=$MYWLAN authtype=opensystem
ifconfig wlan0 $ZAURUSIP up
route add default gw $GATEIP



Regarding SD, just executing this, fixed my problems:

CODE
modprobe sharp_mmcsd_m
mount -o noatime /dev/mmcda1 /mnt/card/



BTW, mine is an MMC card so this may or may not work with SD.


Guylhem: Great work! Thank you very much!
Go to the top of the page
 
+Quote Post
rip
post Oct 24 2005, 04:46 AM
Post #18





Group: Members
Posts: 80
Joined: 7-October 04
Member No.: 4,916



quick feebback, your trick made my sd seen by 6k
great!
will it be persistent? or needed to be done again?

will try the wifi script later on.

thanks you very much
Go to the top of the page
 
+Quote Post
the_oak
post Oct 24 2005, 04:56 AM
Post #19





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



QUOTE(orodriguez @ Oct 24 2005, 07:32 AM)
Regarding SD, just executing this, fixed my problems:

CODE
modprobe sharp_mmcsd_m
mount -o noatime /dev/mmcda1 /mnt/card/



BTW, mine is an MMC card so this may or may not work with SD.


Guylhem: Great work! Thank you very much!
*



That also fixed my SD card formatted ext2 (I thought my SD card had been erased!) Now I can see all my files I had on that card!! Thanks!!!
Go to the top of the page
 
+Quote Post
orodriguez
post Oct 24 2005, 05:11 AM
Post #20





Group: Members
Posts: 19
Joined: 17-October 04
Member No.: 5,065



QUOTE(rip @ Oct 24 2005, 12:46 PM)
quick feebback, your trick made my sd seen by 6k
great!
will it be persistent? or needed to be done again?


It seems that the problem has something to do with sharp kernel module, maybe just loading it on startup fixes the problem even between reboots, will try it later.
Go to the top of the page
 
+Quote Post
rip
post Oct 24 2005, 05:18 AM
Post #21





Group: Members
Posts: 80
Joined: 7-October 04
Member No.: 4,916



mhhh sd card disapereared, reboot does not help, done your tip again but no joy, send me an error sg telling no such device
Go to the top of the page
 
+Quote Post
the_oak
post Oct 24 2005, 05:30 AM
Post #22





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



I also got "no such device". Tried modprobing wlanctl-ng, wlan-ng, prism2, hostap, and everything else I can think of, but get "can't locate module whatever" response.
(Not really sure what I should be modprobing anyway, so these are just guesses.)
Go to the top of the page
 
+Quote Post
orodriguez
post Oct 24 2005, 05:35 AM
Post #23





Group: Members
Posts: 19
Joined: 17-October 04
Member No.: 5,065



QUOTE(rip @ Oct 24 2005, 01:18 PM)
mhhh sd card disapereared, reboot does not help, done your tip again but no joy, send me an error sg telling no such device


Try to reboot without the SD card.

If the trick does not work at all, look at /dev/mmcda* to see what devices are available and use those dev instead.

If there is no one, maybe you could reload the kernel module and create device nodes with mknod:

CODE
mknod  -m 644 /dev/mmcda b 60 0
mknod  -m 644 /dev/mmcda1 b 60 1
mknod  -m 644 /dev/mmcda2 b 60 2


And try again. If the error persists, tell us exactly what the error message is.

Good luck!
Go to the top of the page
 
+Quote Post
orodriguez
post Oct 24 2005, 05:50 AM
Post #24





Group: Members
Posts: 19
Joined: 17-October 04
Member No.: 5,065



QUOTE(the_oak @ Oct 24 2005, 01:30 PM)
I also got "no such device". Tried modprobing wlanctl-ng, wlan-ng, prism2, hostap, and everything else I can think of, but get "can't locate module whatever" response.
(Not really sure what I should be modprobing anyway, so these are just guesses.)
*


modprobe just loads kernel modules ("device drivers").

Those modules have nothing to do with SD card, they are wifi related.

To load wlan module you can issue a:
CODE
modprobe prism2_usb prism2_doreset=1


sharp_mmcsd_m is the sharp binary module for SD and MMC cards.

I am not able to reproduce your problem.

Maybe you can describe the steps performed before you got the error message and will try to reproduce it in my Z.
Go to the top of the page
 
+Quote Post
rip
post Oct 24 2005, 05:57 AM
Post #25





Group: Members
Posts: 80
Joined: 7-October 04
Member No.: 4,916



/dev/mmcda stdin
/dev/mmcda1 stdout
/dev/mmcda2 ts

reboot without sd doesnt help
mknod -m 644 /dev/mmcda1 b 60 1 file exist

same msg on 2 others
reset without sd does not help...
Go to the top of the page
 
+Quote Post
the_oak
post Oct 24 2005, 06:08 AM
Post #26





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



QUOTE(orodriguez @ Oct 24 2005, 07:32 AM)
Regarding wifi.

To connect to a WEP enabled network I used this script:

CODE
ZAURUSIP=192.168.0.15
GATEIP=192.168.0.1
MYWLAN=NETESSID
WEPEY=XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=1            
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true      
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true          
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=$WEPKEY
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey1=$WEPKEY
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey2=$WEPKEY
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey3=$WEPKEY
wlanctl-ng wlan0 lnxreq_autojoin ssid=$MYWLAN authtype=opensystem
ifconfig wlan0 $ZAURUSIP up
route add default gw $GATEIP


It was regarding this wlan script that I got the error "no such device" The SD card fix worked fine for me. But the wlan script complains as follows:

QUOTE
# ./tmp_wlan_up
wlanctl-ng: No such device
wlanctl-ng: No such device
wlanctl-ng: No such device
wlanctl-ng: No such device
wlanctl-ng: No such device
mibattribute="data_string_too_short"
message=dot11req_mibset
  mibattribute=data_string_too_short
  resultcode=no_value
mibattribute="data_string_too_short"
message=dot11req_mibset
  mibattribute=data_string_too_short
  resultcode=no_value
mibattribute="data_string_too_short"
message=dot11req_mibset
  mibattribute=data_string_too_short
  resultcode=no_value
mibattribute="data_string_too_short"
message=dot11req_mibset
  mibattribute=data_string_too_short
  resultcode=no_value
wlanctl-ng: No such device
SIOCSIFADDR: No such device
wlan0: unknown interface: No such devicewlan0: unknown interface: No such deviceSIOCADDRT: Network is unreachable 
Go to the top of the page
 
+Quote Post
Gorth
post Oct 24 2005, 06:47 AM
Post #27





Group: Members
Posts: 12
Joined: 26-April 04
Member No.: 3,024



look at /usr/local/bin/net.wifi scripts. modprobe p80211, prism2_usb, then usbctl on 1. Now you will have device wlan0.

Gorth
Go to the top of the page
 
+Quote Post
the_oak
post Oct 24 2005, 08:46 AM
Post #28





Group: Members
Posts: 426
Joined: 10-February 04
From: Virginia, USA
Member No.: 1,794



QUOTE(Gorth @ Oct 24 2005, 09:47 AM)
look at /usr/local/bin/net.wifi scripts.  modprobe p80211, prism2_usb, then  usbctl on 1.  Now you will have device wlan0.

Gorth
*


All that did for me was turn on the green light. I used the net.wifi.local script after putting my essid in the script.
Go to the top of the page
 
+Quote Post
guylhem
post Oct 24 2005, 09:38 AM
Post #29





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



the file to edit in /opt/qtopia/etc is keycode.tbl

regarding the wifi issues you must change /etc/wlan/wlan.conf

Attached a minimal (if you must type it by hand) and a complete (if you can copy it) file to that message
Attached File(s)
Attached File  wlan.txt ( 182bytes ) Number of downloads: 63
Attached File  wlan2.txt ( 2.98K ) Number of downloads: 57
 
Go to the top of the page
 
+Quote Post
orodriguez
post Oct 24 2005, 10:59 AM
Post #30





Group: Members
Posts: 19
Joined: 17-October 04
Member No.: 5,065



QUOTE(rip @ Oct 24 2005, 01:57 PM)
/dev/mmcda    stdin
/dev/mmcda1  stdout
/dev/mmcda2  ts

reboot without sd doesnt help
mknod  -m 644 /dev/mmcda1 b 60 1 file exist

same msg on 2 others
reset without sd does not help...
*


Just wondering, maybe there is something wrong with mounts. Is there any /mnt/card or /dev/mmcda1 in /proc/mounts? Trying to find out why you are having problems with SD I found /dec/mmcda1 mounted in /proc/mounts but not in /mnt/card so I tried (as root):

1) umount /mnt/card
2) rmmod sharp_mmcsd_m
3) modprobe sharp_mmcsd_m
4) mount /mnt/card

some commands displayed errors (none of them harmful) but cannot remember exactly which ones did work and which didn't.

This was a little bit wierd but haven't found why happened.
Go to the top of the page
 
+Quote Post

7 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd April 2014 - 11:36 AM