LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2004, 03:19 AM   #1
utumno
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 6

Rep: Reputation: 0
socket: Address family not supported by protocol


Hello Linux gurus,

I'm running Debian Sarge, updated daily, w/ custom compiled 2.6.9 kernel.

You can take a look at my .config at www dot 3miasto dot net/~leszek/

I've got some weird problem with networking that manifests itself mainly while using SSH.

Symptoms:

a) when I ssh anywhere , I always got the 'socket: Address family not supported by protocol' error (but the connection still makes it):

leszek@utumno:~$ ssh -l leszek 3miasto.net
socket: Address family not supported by protocol
leszek@3miasto.net's password:
Last login: Sun Dec 5 10:04:10 2004 from *************
NetBSD 2.0_BETA (3miasto.net) #3: Sat Oct 23 01:27:13 CEST 2004

b) when I use the '-4' option to SSH to force using IPv4, the problem disappears:

leszek@utumno:~$ ssh -4 -l leszek 3miasto.net
leszek@3miasto.net's password:
Last login: Sun Dec 5 10:04:10 2004 from *************
NetBSD 2.0_BETA (3miasto.net) #3: Sat Oct 23 01:29:33 CEST 2004

So, the problem seems to be that my SSH somehow uses IPv6 over 4 by default?
But how come? If you look at my .config, I'll see that everything related to IPv6 is not set, AFAIK. I also cannot see any option in /proc/sys/network that would be related to IPv6. I've tried reconfiguring my SSH with 'dpkg-reconfigure ssh' but I cannot see any IPv6 related option there.

Could anybody shed some light on what is happening?

thanks in advance,

Leszek
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
socket: Socket type not supported monindra Fedora - Installation 4 01-14-2008 07:25 AM
Protocol not supported Debian phoenix_wolf Linux - Newbie 1 12-12-2004 02:35 AM
Mdk 10.0 won't boot, stops at NET: Registered protocol family 2 Mike23 Mandriva 1 10-03-2004 07:53 PM
SSH - socket: Address family not supported by protocol SkyLinePL Linux - Networking 4 09-24-2004 12:03 AM
protocol not supported aplusguy Linux - Software 1 01-13-2004 06:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration