You are not logged in.

#1 2005-10-09 10:35:47

wem
Member
Registered: 2005-02-11
Posts: 43

Sharing network using usb wireless network adaptor

Hi ,

i'm very new in wireless network & wanted to have share network between my workstation (windows XP) and laptop (arch linux). i'm using USB wireless network adapter attached to the workstation and the laptop shall share the window's network via this adapter.  Anyone could assist me on this.  I've install ipw2200 on my laptop & this is ipwconfig output :

 

 eth1  unassociated  ESSID:off/any  
          Mode:Managed  Channel=0  Access Point: 00:00:00:00:00:00   
          Bit Rate=0 kb/s   Tx-Power=20 dBm   
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Offline

#2 2005-10-10 09:58:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Sharing network using usb wireless network adaptor

You need to set both boxes to ad-hoc mode. Managed mode is for networks based around an access point.

Offline

#3 2005-10-10 10:52:08

wem
Member
Registered: 2005-02-11
Posts: 43

Re: Sharing network using usb wireless network adaptor

how to set ad-hoc mode on Arch?. For window is done. How to know the laptop is connected to the usb wireless network adapter?

Offline

#4 2005-10-10 17:17:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Sharing network using usb wireless network adaptor

Have you read the wiki pages on wireless setup? It's all there.

Offline

#5 2005-10-11 15:10:05

wem
Member
Registered: 2005-02-11
Posts: 43

Re: Sharing network using usb wireless network adaptor

ok i've read the wiki and i managed to bring up my laptop(linux) wireless interface. Both are now in ad-hoc mode. Now how to share the network?

Offline

#6 2005-10-12 14:39:03

wem
Member
Registered: 2005-02-11
Posts: 43

Re: Sharing network using usb wireless network adaptor

ok after done some searching at LinuxQuestions.org i'vemanaged to get it work. Breifly,

At Window PC
- Connect to broadband connection
- Open Network Connections -> right click at the broadband connection
- Click Advanced
- Tick at 'Allow other network users to connect through this computer's Internet connection.
- Network Connection -> Right Click at Wireless Network Connection -> Properties
- Click Advanced -> Jot down "Channel", "Network Type" -> set as "Ad-hoc" , SSID -> set any names e.g "MyEssid"
- Right click at Wireless connection -> Status -> Jot down IP add (normally assigned as 192.168.0.1)

At Linux PC
[root@myhost ~]# iwconfig eth1 mode Ad-hoc essid MyEssid channel 6
[root@myhost ~]# ifconfig eth1 192.168.0.3 netmask 255.255.255.0
[root@myhost ~]# route add 192.168.0.1 eth1
[root@myhost ~]# route add default gw 192.168.0.1
[root@myhost ~]$ ping www.google.com
PING www.l.google.com (66.249.89.99) 56(84) bytes of data.
64 bytes from 66.249.89.99: icmp_seq=1 ttl=244 time=196 ms
64 bytes from 66.249.89.99: icmp_seq=2 ttl=244 time=214 ms

Done. :-)

Hope this will help others :-)

Offline

Board footer

Powered by FluxBB