You are not logged in.
hey guys, I can't get netcfg2 to work on my machine... really annoying upgrade check this:
[network.d]% diff examples/wpa.example home
1,2c1,2
< CONNECTION="wireless"
< INTERFACE=wlan0
---
> CONNECTION="home"
> INTERFACE=eth1
5,6c5,6
< ESSID="mynetwork"
< KEY="SomePasskey"
---
> ESSID="Lebowski"
> KEY="foobar"
[network.d]% sudo netcfg2 home
> home is not a valid connection, check spelling or look at examples
Any ideas? Also, why do I have to specify CONNECTION="foo"? the filename is enough to get the name, no?
chris
Last edited by delmonico (2008-03-28 17:54:41)
Offline
I'm not at my machine that has netcfg2 but I'm pretty sure CONNECTION variable should stay as "wireless"
Offline
Ah, it specifies a connection type, not the name then Thanks
Offline
Your existing profile from the original netcfg does not work with netcfg2. Best option IMO is to take the file from /etc/network.d/examples that is closest to your required setup, copy it to /etc/network.d/<your_profile_name>, and edit it as required. The Network Profiles wiki page is useful also.
Offline
I can't get work netcfg2...
if I run
iwconfig wlan0 essid SpeedTouch5F3851 enc open s:LesPiTTareL
it works great, I can connect to my wireless network but...
if I configure my /etc/network.d/celadina in this way:
CONNECTION="wireless"
DESCRIPTION="Connessione wireless casa Bergamo"
INTERFACE=wlan0
ESSID=SpeedTouch5F3851
KEY=LesPiTTareL
SECURITY=wep
IP="static"
IFOPTS="192.168.1.70 netmask 255.255.255.0"
GATEWAY=192.168.1.254
and running
netcfg2 celadina
I get this error message
:: celadina up - Could not set wireless configuration [FAIL]
[root@Arials skioppetto]# "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
I think the error is in SECURITY but I can0t find a solution... I've tried also with IWOPTS and if I don't
define SECURITY it doesn't give any errors but it can't connect becouse key remains off
I use rt61 wireless module; when I connect trough the first way I don't get any wep modules loaded even if it works...
I think the problem could be the kernel module.
What do you think about?
Offline
up
Offline
I changed in file:
/usr/lib/network/wireless.subr
Line 135
From:
WEP_OPTS="mode managed essid \"$ESSID\" key open $KEY"
To:
WEP_OPTS="mode managed essid \"$ESSID\" key open \"s:$KEY\""
And worked for me...I was having the same problem
Last edited by pestilence (2008-04-02 07:09:28)
My Blog: http://pestilence.insert.gr
My Art: http://pestilence.deviantart.com
Offline
It'd be better to do KEY="s:LesPiTTareL" rather than edit wireless.subr
Offline
Didn't notice that it works like that! damn I feel wierd now
Last edited by pestilence (2008-04-02 09:26:13)
My Blog: http://pestilence.insert.gr
My Art: http://pestilence.deviantart.com
Offline