Hey Folks, Adsl connection to internet is running. But notice the following below huge error in packets received under ifconfig. Now, why is that? And is this bottlenecking the internet connection? Any expert suggestions? Thanks. Pal
ppp0 Link encap:Point-to-Point Protocol
inet addr:x.x.x.x P-t-P:x.x.x.x Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3395 errors:3421 dropped:0 overruns:0 frame:0
TX packets:2635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3706252 (3.5 MiB) TX bytes:255544 (249.5 KiB)
Ifconfig shows ADSL packet errors. What do they mean?
Dunno about expert
I have adsl using eth0 (cabled) and broadcast protocol, not ppp, in the UK.
My mtu is 1500, not 1492
Seem to remember 1492 was for dialup connections? I could be wrong. Try entering in rxvt; ifconfig ppp0 mtu 1500
If it makes it worse, change it back.
My txqueuelen is 100, not 3
This page suggests setting to 100 (or 10) depending on the speed of your NIC, although you seem to have Recieve errors
http://www.oss.sgi.com/archives/netdev/ ... 00033.html
my ifconfig results
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:x.x.x.x Bcast:255.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44808 errors:0 dropped:0 overruns:0 frame:0
TX packets:37848 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:49348547 (47.0 MiB) TX bytes:5670131 (5.4 MiB)
I have adsl using eth0 (cabled) and broadcast protocol, not ppp, in the UK.
My mtu is 1500, not 1492
Seem to remember 1492 was for dialup connections? I could be wrong. Try entering in rxvt; ifconfig ppp0 mtu 1500
If it makes it worse, change it back.
My txqueuelen is 100, not 3
This page suggests setting to 100 (or 10) depending on the speed of your NIC, although you seem to have Recieve errors
http://www.oss.sgi.com/archives/netdev/ ... 00033.html
my ifconfig results
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:x.x.x.x Bcast:255.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44808 errors:0 dropped:0 overruns:0 frame:0
TX packets:37848 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:49348547 (47.0 MiB) TX bytes:5670131 (5.4 MiB)
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
Could be noise on the telephone line.
Try to have your telecom operator test the line.
If I remember well from my early ppp0 days, I think I had the MTU at 1492 also.
Try to have your telecom operator test the line.
If I remember well from my early ppp0 days, I think I had the MTU at 1492 also.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Errors (SOLVED)
Thanks Steevieb and Beem
Ok,, this is the results:-
1.) Unchecked - Use Synchronous PPP, and errors are gone.
2.)
ifconfig eth0 mtu 1500
ifconfig ppp0 mtu 1500
ifconfig wth0 or ppp0 txqueuelen 10 or 100
system may accept these commands or above PPP unchecked, but doesn't reflect that in ifconfig.
ppp0 Link encap:Point-to-Point Protocol
inet addr:x.x.x.x P-t-P: x.x.x.x Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:577 errors:0 dropped:0 overruns:0 frame:0
TX packets:579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:214135 (209.1 KiB) TX bytes:85837 (83.8 KiB)
3.)
And why must
ifconfig eth0 down
ifconfig eth0 up
be manually typed before rp-pppoe start to surf internet?
Anyway this can be automated in a script or something?
Ok,, this is the results:-
1.) Unchecked - Use Synchronous PPP, and errors are gone.
2.)
ifconfig eth0 mtu 1500
ifconfig ppp0 mtu 1500
ifconfig wth0 or ppp0 txqueuelen 10 or 100
system may accept these commands or above PPP unchecked, but doesn't reflect that in ifconfig.
ppp0 Link encap:Point-to-Point Protocol
inet addr:x.x.x.x P-t-P: x.x.x.x Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:577 errors:0 dropped:0 overruns:0 frame:0
TX packets:579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:214135 (209.1 KiB) TX bytes:85837 (83.8 KiB)
3.)
And why must
ifconfig eth0 down
ifconfig eth0 up
be manually typed before rp-pppoe start to surf internet?
Anyway this can be automated in a script or something?
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
I am ashamed.
6 à7 years, when I had my pppoe connection still, I remember now having had the same problem and the same solution, but in Windows.
As for point 3 I don't know why, but you could the down and up statements at the end of rc.local and put a sleep xx command in between. I think xx is the n° of seconds to wait.
6 à7 years, when I had my pppoe connection still, I remember now having had the same problem and the same solution, but in Windows.
As for point 3 I don't know why, but you could the down and up statements at the end of rc.local and put a sleep xx command in between. I think xx is the n° of seconds to wait.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]