LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-05-2004, 05:11 AM   #1
SpaceCowboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake
Posts: 13

Rep: Reputation: 0
"connect: No buffer space available" in my local network area


I'm running mandrake 10 and KDE 3.2.2.. I have a NIC (eth0) connected to a network ADSL modem and a virtual NI (eth0:1) connected to my Laptop win2000k..

this is my ifconfig:

eth0 Link encap:Ethernet HWaddr 00:A0:A2:00:D8:5C
inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::2a0:a2ff:fe00:d85c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:302072 errors:0 dropped:0 overruns:0 frame:0
TX packets:474852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:156131881 (148.8 Mb) TX bytes:166937059 (159.2 Mb)
Interrupt:12 Base address:0x1000

eth0:1 Link encap:Ethernet HWaddr 00:A0:A2:00:D8:5C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:12 Base address:0x1000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4946 errors:0 dropped:0 overruns:0 frame:0
TX packets:4946 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:606423 (592.2 Kb) TX bytes:606423 (592.2 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:82.50.10.12 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:301276 errors:0 dropped:0 overruns:0 frame:0
TX packets:314210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:148934011 (142.0 Mb) TX bytes:150046892 (143.0 Mb)


I've been having some trouble for a few days:

Just After my linux box starts the network seems to work perfectly, but after some minutes, I can't reach my Laptop and my localhost.. I can see it:

ping localhost
connect: No buffer space available
ping 192.168.0.66 (my laptop)
connect: No buffer space available
ping 82.50.10.12 (my PPP0 address)
connect: No buffer space available

It's very strange, beacuse if I type...

ping google.com
PING google.com (216.239.57.99) 56(84) bytes of data.
64 bytes from 216.239.57.99: icmp_seq=1 ttl=239 time=1679 ms
64 bytes from 216.239.57.99: icmp_seq=2 ttl=239 time=2191 ms

--- google.com ping statistics ---
3 packets transmitted, 2 received, 33% packet loss, time 5296ms
rtt min/avg/max/mdev = 1679.156/1935.195/2191.234/256.039 ms, pipe 2

...My connection (browser, FTP etc) to "OUTSIDE" seems to work perfectly, but communications within my LAN don't work..

any idea?
 
Old 08-05-2004, 06:56 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
can you check

1 routing tables (netstat -nr OR route -vn)
2 your firewall ... hope the local interface (lo) is not blocked. (iptables -nvL)
 
Old 08-05-2004, 08:23 AM   #3
SpaceCowboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake
Posts: 13

Original Poster
Rep: Reputation: 0
output:

netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.100.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 ppp0

iptables -nvL
Chain INPUT (policy ACCEPT 1010K packets, 530M bytes)
pkts bytes target prot opt in out source destination
3 84 ACCEPT all -- * * 192.168.0.99 192.168.0.1
0 0 ACCEPT all -- * * 192.168.0.66 192.168.0.1

Chain FORWARD (policy ACCEPT 7931 packets, 7312K bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 1133K packets, 464M bytes)
pkts bytes target prot opt in out source destination


notice: I've a boot-script that allow ip forwarding to 2 LAN-IP: 192.168.0.99 (my laptop) and 192.168.0.66 (for friends that sometimes usa my LAN). My Linux is the gateway (192.168.0.1) with eth0:1 interface.

I don't understand very well this output, can you explain me it?

thanks a lot!
 
Old 08-05-2004, 10:02 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Beats me.

Can you try disabling this virtual interface.

#ifdown eth0:1

and try to ping localhost, your ppp IP and other sites.

You will not be able to ping your LAN (192.168.x.x). If you are able to ping to localhost, the ppp IP for extended period of time, we may assume that the virtual interface is creating this problem...
 
Old 08-06-2004, 02:36 AM   #5
SpaceCowboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake
Posts: 13

Original Poster
Rep: Reputation: 0
I tried (as root):

ifdown eth0:1

But I got:

Device "eth0:1" does not exist.

And I think it's not the problem... This configuration worked until a few days ago... Then I had a problem with some configuration file.. KDE didn't start because DCOP config in my home/user/ seemed to be disappeared! .. To solve this problem I've

cp home/usr2/.DCOP_server_myhost__0 /home/user/

After this, KDE started ok, But I don't know if this could be the problem: because my internet connection didn't start, in the meanwhile I worked around my network settings..

And, over all.. I don't know what DCOP is..

I have too many variables in this problem!!!

Last edited by SpaceCowboy; 08-06-2004 at 04:04 AM.
 
Old 08-30-2004, 02:44 AM   #6
SpaceCowboy
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake
Posts: 13

Original Poster
Rep: Reputation: 0
Solution...

I found a solution:

Mandrake reinstalled..

cheers.
 
  


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
Trying to get SAMBA working "Unable to find any workgroups in your local network." shodekiagari Linux - Networking 1 07-08-2005 01:32 PM
Squid: "Socket error... (55) no buffer space available J_Szucs Linux - Networking 1 08-30-2004 08:10 AM
"no buffer space available" Linuxchic Red Hat 6 08-05-2004 09:07 AM
"document contains no data" error when i try to connect to SWAT on local machine squeaky-steve Linux - Networking 2 12-03-2003 08:12 AM
Error "No Buffer Space Available !" Dan Angelescu *BSD 0 01-04-2003 06:11 PM

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

All times are GMT -5. The time now is 01:56 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