You are not logged in.

#1 2009-04-02 08:42:17

bredin
Member
From: sweden
Registered: 2008-06-28
Posts: 135

Netcfg and open networks. 3open networks, and netcfg connects to all 3

I have a problem with the wifi network @ school. There are 3 open networks: Student, Personal and Extern.
I want to connect to Student but it randomly connects to Personal and Extern everytime I "sudo netcfg Student.conf".
And I've specified ESSID=Student, but still it connects to the other networks! And it seems to be a problem for it to find a network to some time, probably becuase the schools WIFI sucks.


Lenovo ThinkPad x61
Core2Duo 2ghz, 4gig ram, 16gig SSD.
Archlinux x64 + Fluxbox!

Offline

#2 2009-04-02 09:13:56

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

Re: Netcfg and open networks. 3open networks, and netcfg connects to all 3

Use the IWOPTS field in your netcfg profiles to specify the address of a particular access point, using iwconfig's ap option. man iwconfig for details.

Offline

#3 2009-04-03 14:19:54

bredin
Member
From: sweden
Registered: 2008-06-28
Posts: 135

Re: Netcfg and open networks. 3open networks, and netcfg connects to all 3

I added:

IWOPTS="10.250.10.255"

and it didn't work, also tried

GATEWAY="10.250.10.255"

and it didn't work either. Think I have to talk to someone at school.


Lenovo ThinkPad x61
Core2Duo 2ghz, 4gig ram, 16gig SSD.
Archlinux x64 + Fluxbox!

Offline

#4 2009-04-03 15:48:41

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

Re: Netcfg and open networks. 3open networks, and netcfg connects to all 3

You're not using IWOPTS correctly. Read man iwconfig, and look for the 'ap' option. The usage is given there, including examples. Then look at /etc/network.d/examples/complete.example to see how that information is applied to a netcfg profile.

Offline

Board footer

Powered by FluxBB