View previous topic :: View next topic |
Author |
Message |
fzxdude n00b
Joined: 13 Jun 2004 Posts: 72
|
Posted: Thu Sep 30, 2004 3:18 am Post subject: erm ifconfig quirkiness |
|
|
its up and running as we speak ... im posting via eth0 ...
im also noticing very poor performance
eth0 Link encap:Ethernet HWaddr 00:50:BA:49:06:BE
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:baff:fe49:6be/64 Scope:Link
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:11 Base address:0x6000
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
|
Back to top |
|
|
aetius Tux's lil' helper
Joined: 09 Jul 2004 Posts: 118
|
Posted: Thu Sep 30, 2004 4:01 pm Post subject: |
|
|
Check and see if /proc/net/dev exists and is populated. That's where the information displayed in ifconfig comes from. If it's not there you probably need to go back through your kernel config and go back over your network options to make sure they make sense -- use the gentoo defaults as a guide.
Fix the ifconfig problem first so we can see if you are getting a lot of errors or something else that's obvious. |
|
Back to top |
|
|
fzxdude n00b
Joined: 13 Jun 2004 Posts: 72
|
Posted: Thu Sep 30, 2004 4:49 pm Post subject: |
|
|
at /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo:334951372 921333 0 0 0 0 0 0 334951372 921333 0 0 0 0 0 0
tunl0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0:75986930 793922 0 0 0 0 0 0 1342170283 1224312 0 0 0 0 0 0
the slow side of things turned out to be a bad nic on the other machine ... this one is seeing no probs outside ifconfig being empty
I have been monitoring it with the nms and it shows no errors at all that way ... but the other box has some here and there
cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 7209940 48262 0 0 0 0 0 0 7209940 48262 0 0 0 0 0 0
eth0:90771286325 61970781 88956 0 1 96980 0 0 2946489796 34136166 0 0 0 0 0 0
88956 err's for that one |
|
Back to top |
|
|
IhatemyISP n00b
Joined: 23 Aug 2004 Posts: 14 Location: US Navy - Yokosuka, Japan
|
Posted: Fri Oct 01, 2004 2:47 am Post subject: |
|
|
aetius wrote: | Check and see if /proc/net/dev exists and is populated. That's where the information displayed in ifconfig comes from. If it's not there you probably need to go back through your kernel config and go back over your network options to make sure they make sense -- use the gentoo defaults as a guide.
Fix the ifconfig problem first so we can see if you are getting a lot of errors or something else that's obvious. |
I'm having this same issue.
Here's the output of my /proc/net/dev:
Code: | monkey ian # cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eth0:3301846135 5917162 0 0 0 0 0 0 286931044 6611468 0 0 0 0 0 0
lo: 2689592 49445 0 0 0 0 0 0 2689592 49445 0 0 0 0 0 0
|
Any ideas? |
|
Back to top |
|
|
aetius Tux's lil' helper
Joined: 09 Jul 2004 Posts: 118
|
Posted: Tue Oct 05, 2004 1:59 pm Post subject: |
|
|
hrmm, not much to go on then. ifconfig isn't a huge or complicated program, so this has to be a disconnect somewhere. Changes to the kernel would seem to not matter, because the data is populated, ifconfig just isn't able to read it. Restrictions on reading /proc would be a possibility, but I assume that you've tried it as root and it has the same problem. ifconfig doesn't really depend on anything except glibc -- I guess it's possible there's a problem there.
Permissions on /proc/net/dev maybe? Version of ifconfig (it's in the net-tools package)? Any unusual kernel patches or mods? Version of glibc? Did either of you try re-emerging net-tools? Anyone not on x86? |
|
Back to top |
|
|
|