You are not logged in.

#1 2006-10-29 16:14:59

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

wireless link to laptop

Can I use the wireless net on my box to talk to my laptop (or share connection!) ?

Would like to able to use laptop for net etc ...


Mr Green

Offline

#2 2006-10-30 00:13:36

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: wireless link to laptop

yes, so long as your driver has support, you ought to be able to run an adhoc connection between them.

iwconfig ethX mode ad-hoc
iwconfig ethX essid mrgreens

and generate yourself a wep key:
http://www.andrewscompanies.com/tools/wep.asp
iwconfig ethX key <key>

then just set a static IP on both computers.

James

Offline

#3 2006-10-30 07:23:00

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

iwconfig output

wlan0     802.11b/g  Mode:Managed  Channel=5  
          Access Point: Not-Associated   Bit Rate:11 Mb/s   
          Retry:on   Fragment thr:off
          Encryption key: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

wlan0 [r8187] module not sure if AUR version is working yet

I grabbed it from realtek site need to scan for laptop first I guess

O & thanks ;-)


Mr Green

Offline

#4 2006-10-30 07:42:44

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: wireless link to laptop

oops, typo.

it was iwconfig mode ad-hoc, not adhoc. i've edited the above for you.

Offline

#5 2006-10-30 12:11:02

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

no worries mate ;-)... thanks for the help

How do I set static address ? my main system uses dhcp ......


Mr Green

Offline

#6 2006-11-01 16:42:21

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

wlan0     802.11b/g  ESSID:"mrgreen"  
          Mode:Managed  Channel=1  Access Point: Not-Associated   
          Bit Rate:11 Mb/s   
          Retry:on   Fragment thr: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

[ ~ ] > 

Now how do I scan for my router ;-S ?


Mr Green

Offline

#7 2006-11-01 18:44:14

alexmat
Member
Registered: 2004-12-31
Posts: 100

Re: wireless link to laptop

man iwlist

Offline

#8 2006-11-01 18:51:13

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

:oops: thanks


Mr Green

Offline

#9 2006-11-28 16:23:46

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

Can you set up static ip from command line ? for wlan0 then I will set up laptop to match


Mr Green

Offline

#10 2006-11-29 04:25:26

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: wireless link to laptop

ifconfig eth0 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255

adjust how you see fit.

Offline

#11 2006-11-29 08:29:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

doh! .... sorry yes of course replace eth0 with wlan0

Thanks man....  8)


Mr Green

Offline

#12 2006-12-01 10:49:52

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: wireless link to laptop

Yeah all set up on both machines only laptop will not set ad-hoc [under ubuntu!]

I can ping 192.168.1.23 on both but I guess they would anyway

Will have to read up more on getting shared network connection as I am a little in the dark about this sort of stuff

Thanks for all your help

MrG


Mr Green

Offline

Board footer

Powered by FluxBB