Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird vpnc error message
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Sat Mar 27, 2010 8:45 am    Post subject: weird vpnc error message Reply with quote

Hi,

I installed vpnc a few days ago, and when I run it, I get a really wierd error concerning a wlan0 card I don't even have on my computer... VPNC works anyway, but that error bothers me. Do you have any idea how I could get it away? Thanks

Code:

Enter username for server: something
Enter password for something@server:
Device "wlan0
wlan0" does not exist.
SIOCSIFMTU: Argument invalide
VPNC started in background (pid: 7860)...


_________________
Prayer can change the world!


Last edited by keba on Tue Apr 06, 2010 8:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Sun Mar 28, 2010 10:54 am    Post subject: Reply with quote

Well, perhaps vpnc tries to do something with wlan0. You mostly see these errors when a specific function is not implemented. What does your vpnc conf file look like?
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Mon Mar 29, 2010 12:32 pm    Post subject: Reply with quote

I'm sorry I couldn't answer sooner. I didn't change the /etc/vpnc/default.conf, I just added my own specific file so I'm able to issue vpnc ethz. The file is called ethz.conf:

Code:

## generated by pcf2vpnc
IPSec ID ETHZ
IPSec gateway vpn-cluster.ethz.ch
IPSec secret ETHZ.GROUP

IKE Authmode psk
IKE DH Group dh2

_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Mon Mar 29, 2010 12:55 pm    Post subject: Reply with quote

Okay, and what are the contents in:

Quote:
/etc/vpnc/default.conf
/etc/vpnc.conf


?
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Wed Mar 31, 2010 9:33 am    Post subject: Reply with quote

Here you go: /etc/vpnc/default.conf:

Code:

IPSec gateway <gateway>
IPSec ID <group-id>
IPSec secret <group-psk>
IKE Authmode hybrid
Xauth username <username>
Xauth password <password>


and /etc/vpnc.conf does not exist

BTW: I do not start any network scripts other than /etc/net.lo since NetworkManager doesn't need them
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Wed Mar 31, 2010 5:45 pm    Post subject: Reply with quote

Try moving the /etc/vpnc/default.conf out of the way (mv /etc/vpnc/default.conf /etc/vpnc/default.conf.off) and see if the error disappears.
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Wed Mar 31, 2010 7:50 pm    Post subject: Reply with quote

That works... If I'd known it was so easy. But it's strange anyway. Thanks a lot
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Tue Apr 06, 2010 8:08 am    Post subject: Reply with quote

That's weird, the message is back again. So it wasn't /etc/vpnc/default.conf... Any ideas?
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Apr 06, 2010 9:44 am    Post subject: Reply with quote

So, it DID disappear right? Perhaps /etc/vpnc/default.conf exists again for some weird reason? :? :?
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Tue Apr 06, 2010 10:13 am    Post subject: Reply with quote

Exactly my thought. So I checked that and it doesn't. Which is why I'm a bit confused.
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Apr 06, 2010 1:50 pm    Post subject: Reply with quote

I'm stumped by the outcome 8O . Didn't you change *anything* in the mean time?
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Tue Apr 06, 2010 2:26 pm    Post subject: Reply with quote

Hmm, now default.conf is there again. My fault, I guess I didn't see it last time I checked, I'm really sorry for the wrong post.

So it really looks like the error is because of it, somehow. And if deleting it doesn't help, then what can I do.
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Apr 06, 2010 3:11 pm    Post subject: Reply with quote

That is just weird lol :P . Try an empty default.conf and see if that helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum