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

IPB

Welcome Guest ( Log In | Register )

> Get Online Only Using Bash And A Usb Card
Allelectrix
post Oct 24 2008, 01:21 PM
Post #1





Group: Members
Posts: 85
Joined: 7-April 08
Member No.: 21,602



Hi all,

Heres how to get online with BT3:

insert the USB Card into the Hub. we are dealing here with the rt73 Card Edimax EW-7318USg Card but any RT73 card should do it.

open a BASH Shell and issue:

ifconfig rausb0 up
iwconfig rausb0 essid "essid_of_AP" channel X mode managed enc ABCDEF0123456789 ap 00:11:22:33:44:55


where:

1. essid_of_AP = the essid of the AP in quotes
2. X = channel AP is on. enter 2 for channel 2 or 11 for channel 11 etc,etc...
3. ABCDEF0123456789 = the HEX encryption key if the Network is using WEP. this will be either 6 or 13 bytes long.
4. ap = 00:11:22:33:44:55 replace this with the AP's MAC addresss

Now, if the HTTP control page is at 192.168.1.254 do next:

hostname

bt

the hostname is bt

finally, to get online using DHCP do:

dhcpcd -h bt -G 192.168.1.254 rausb0


if this command don't complete almost immediately, it will fail to connect. then check:

Is USB Card connected to a powered hub ?
Is the card on the same channel as the AP ?
Is the AP's MAC displayed after you issue iwconfig ?

QUESTIONS


Can someone please answer these for me:

1. How do we get the AP's MAC address listed with iwconfig in pdaXii13 using a USB Card ?
2. I have tried this method with pdaXii13 on a Zaurus SL-C1000. All commands load except:

iwconfig rausb0 ap 00:11:22:33:44:55

even though this command completes correctly, the AP's MAC is still not listed when afterwards we issue iwconfig .
therefore, does anyone know the solution to this ? because if we then try the dhcpcd command above, it fails,
as I said, all other parameters get loaded except AP, a rather annoying little problem.

Hope someone can help.

Thanks all, Allelectrix

Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
speculatrix
post Oct 26 2008, 02:54 PM
Post #2





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



you shouldn't need to specify the AP if it's an access point (i.e. not ad-hoc), and the wireless client should automatically choose the right client.

iwconfig should then show the AP's mac, and repeat back the wep key (only root sees that).

ping the gateway and look at the arp table ("arp -an") or find the arp file in /proc/sys/net (something like that ) which gets populated when you ping the gateway.
Go to the top of the page
 
+Quote Post
Allelectrix
post Nov 1 2008, 11:46 AM
Post #3





Group: Members
Posts: 85
Joined: 7-April 08
Member No.: 21,602



QUOTE(sdjf @ Oct 27 2008, 03:57 PM) *
Do you have sudo installed?

sdjf


Hi sdjf, thanks for your reply, no, I am using a C1000 with pdaxii13 do we still need sudo ?

Have you ever got an online connection using a USB Wifi Card in pdaXii13 ?

QUOTE(speculatrix @ Oct 26 2008, 10:54 PM) *
you shouldn't need to specify the AP if it's an access point (i.e. not ad-hoc), and the wireless client should automatically choose the right client.


thanks, but this only seems to work for CF Wifi Cards, Have you ever got an online connection using a USB Wifi Card in pdaXii13 ?
QUOTE
iwconfig should then show the AP's mac, and repeat back the wep key (only root sees that).


yep, again this is so with CF Wifi cards, have not had this work with USB wifi Cards sad.gif

QUOTE
ping the gateway and look at the arp table ("arp -an") or find the arp file in /proc/sys/net (something like that ) which gets populated when you ping the gateway.


OK will try that. thanks lads for your replies so far. It would be really neat if we could get this resolved as USB Wifi Cards are vastly superior
in every way to CF b Cards, in terms of RF range, abilities, performance, and they basically add a whole pile of kick ass features that
B cards cannot even come near too.

so if this gets added to pdaX circia Kernel 2.6 COUNT ME IN ! biggrin.gif

keep your ideas rolling in here, we still need a kernel 2.4.20 solution to this problem.
Go to the top of the page
 
+Quote Post

Posts in this topic


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: 6th March 2015 - 04:39 AM