Jump to content

Network Gurus - Please Help *RESOLVED*


kmc77
 Share

Recommended Posts

I just bought a new DLink DI-524 Wireless G router, to replace my piece of crap Microsoft wireless G router.

 

First thing I notice on boot - My boot seems to pause for a very long time at Statd. Then after that everything else draggs butt.

 

Eth0 comes up fine, but no internet connection. I believe I have set the router up correctly. Firewall is completely off (double checked, as I have had that problem before :D )

 

Everything moves extremely slow. 30 seconds just to open an app (gkrellm, firefox, evolution, etc) and even the DE loads slow.

 

All of this and no internet, but I'll work on that after i get this slowdown problem fixed.

 

I unplugged router and went straight into the box, and everything is fine.

 

Anybody have any Idea what's going on with the slowdown?

Edited by kmc77
Link to comment
Share on other sites

can you describe what is plugged where, how many and what type of network cards

+

can you post

 

[root@pc-00231 network-scripts]# more /etc/sysconfig/network-scripts/ifcfg-eth0



DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
NEEDHOSTNAME=yes

 

 

and

[root@pc-00231# route

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         pc-00010.lepean 0.0.0.0         UG    0      0        0 eth0

Link to comment
Share on other sites

Don't know, but if statd is causing it - something to do with NFS?

 

Are you using Network File System?

 

If not, try disabling nfs, nfslock and portmap on boot in drakxservices - shouldn't have these running anyway if you are not using NFS.

 

You can also check if something is using say 95% of your CPU with the command 'top' q will quit.

 

Chris

Link to comment
Share on other sites

All of this and no internet, but I'll work on that after i get this slowdown problem fixed.

 

 

 

It could well be the same thing.

KDe and Gnome need networking... if its not working and they are trying to resolve hostnames then they seem to hang or take a long time starting.

Link to comment
Share on other sites

Gowator, thought you were taking off for a while. Oh well now you're stuck untill I get this fixed :P

 

I'm at work right now, but I will post the outputs when I get back to my Linux box. As far as the hardware and setup:

 

1 Ethernet card (generic. Whatever Dell is sticking in their cases right now)

1 DSL modem (Dynamic IP - Every help menu says that I should have a PPPoe Connection tho)

1 DLink Wireless router.

 

Modem --> Wireless router --> Linux box (only LAN connection) & Laptop (Windows XP ((no comment - have to have for work))

 

Connecting to wireless network with laptop, but no internet - Odd. Maybe there is a problem with my router settings after all. Anyway, I haven't messed with it anymore since I posted.

 

________________

 

Streeter. I Haven't checked the NFS settings yet, but won't I need this? I do want to network my laptop (Win) and my desktop (Lin). I'll look at It when I get home.

Link to comment
Share on other sites

Gowator is most likely right. If you're having ethernet problems, perhaps not getting an IP address, your system will take -forever- to open up applications.

 

If you want to avoid this so that you can work on fixing this problem without having to twittle your thumbs, press "i" when prompted to go into an interactive startup, say yes to most things but "No" to network (and the services streeter mentions).

 

most people never use NFS in a home setting. If you want to share files between Linux and Windows you're better off using Samba.

Link to comment
Share on other sites

Ok, here's the output of more /etc/sysconfig/network-scripts/ifcfg-eth0

[kevin@kevins kevin]$ more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
HWADDR=00:c0:a8:87:01:38
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
DHCP_HOSTNAME=kevins.linux.box.com
NEEDHOSTNAME=no
[kevin@kevins kevin]$

 

And here's the output of route

[root@kevins kevin]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
[root@kevins kevin]#

 

I have dissabled NFS, nfslock and portmap. Still no change in the status. I hope this info helps, I would really like to use my new router, and would hate to have to go back to the crappy MS router.

Link to comment
Share on other sites

Setup looks OK - as the route command gives the expected output, I assume you are getting an IP address from DHCP - could you post the output of ifconfig just to make sure?

 

Re the speed - I had a similar problem a few years ago - it was caused by a bad /etc/nsswitch.conf file. Look for the line that begins "hosts:" and make sure it reads "hosts: files dns".

 

As you are using DHCP (may be worth switching to a static setup on a tiny network), make sure your /etc/hosts file is empty, except perhaps for an entry for your router.

 

If you plug the old router in, does it all work again?

 

I unplugged router and went straight into the box, and everything is fine.

You mean you plugged the PC into the modem, and you can access the internet? If so, see gowator's sticky post at the top of the networking forum for types of DSL devices. You may just need to re-arrange your physical setup, ie modem --> PC --> router --> laptop.

 

Thinking out loud:

Or disable pppoe in the PC (forgive me if this is rubbish - I have never had dealings with DSL, so only 'know' what I have read!)

 

Also, just to recap for my limited brain power (I need more RAM), does this summerise your problem:

 

You have a DSL modem, plugged in to a wireless router.

Your PC is plugged in to the wireless router

Your laptop is connected by wireless

 

Internet worked with the old wireless router, but neither computer connects with the new one, and your PC is now s-l-o-w...

 

Chris

Link to comment
Share on other sites

yep sorry lost an earlier post ...

Basically I think your halfway DSL and halfway network ...

 

they are different and just becuase you have DSL doesnt mean thats the right choice in the wizard (i know this sounds funny but read the stciky) Im updating it a bit more!

Link to comment
Share on other sites

Also, just to recap for my limited brain power (I need more RAM), does this summerise your problem:

 

You have a DSL modem, plugged in to a wireless router.

Your PC is plugged in to the wireless router

Your laptop is connected by wireless

 

Internet worked with the old wireless router, but neither computer connects with the new one, and your PC is now s-l-o-w...

 

You got it. Of course, I have not hooked up the old router since I installed MDK 10.0 OE. I stopped using the other one in 9.2, because I host an FTP site, and the Microsoft router (like the majority of Microsoft products) was dumbed down. There were very little controll options. I couldn't even controll the router's firewall. That didn't work nice with my FTP so I just pulled it, and haven't accessed the internet with my laptop at home since.

 

Gona go read Gowator's sticky, and get that ifconfig output. Be back shortly.

Link to comment
Share on other sites

Ok, here's ifconfig

[root@kevins kevin]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:A8:87:01:38
         inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
         inet6 addr: fe80::2c0:a8ff:fe87:138/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:148 errors:0 dropped:0 overruns:0 frame:0
         TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:47974 (46.8 Kb)  TX bytes:11116 (10.8 Kb)
         Interrupt:9 Base address:0x8c00

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:125 errors:0 dropped:0 overruns:0 frame:0
         TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:11655 (11.3 Kb)  TX bytes:11655 (11.3 Kb)

 

I also made the adjustment to /etc/nsswitch.conf

 

/etc/hosts says this

127.0.0.1                    localhost

Is that what you were talking about.

 

I read the sticky, and believe that everything is set up right.

 

I'm hoping you guys can make heads or tails of this.

Link to comment
Share on other sites

OK

 

Well the hostanem doesnt seem right ...

according to the DHCP settings its kevins.linux.box.com

but your prompt says hostname is kevins...

 

so

cat /etc/hostname   
cat /etc/dnsdomainname

and we'll see.

 

Your IP looks fine and your default route is correct .

your nsswitch should be

files dns

 

or visa versa but no nis right!

 

next we will see how its finding IP addresses ....

this is controled by

/etc/resolv.conf

 

it should have picked up the dns server of your ISP when it got its IP address through DHCP... (this is one advantage of using DHCP)

however your router might not be setup to forward this ....

 

these will be set on the router!

 

if you can find the dnsserver address of YOUR isp it will be better but

iof you cant find it right away

http://support.open-rsc.org/.servers/

choose the nearest to you ....

 

this is REALLY important, every time it asks a name it has to resolve it so the less delay the better :D

 

 

post your /etc/resolv.conf anyway :D

Link to comment
Share on other sites

Well the hostanem doesnt seem right ...

according to the DHCP settings its kevins.linux.box.com

but your prompt says hostname is kevins...

 

Not sure about that. In 9.2 it showed the full host name, but ever since I upgraded, I only get that abreviated prompt.

 

your nsswitch should be

files dns

 

I fixed that after I coppied this output.

 

I will have to hold off on the reslov. conf output for a couple of hours, as I'm at work right now. But I was thinking, If the router is sending signal, and I'm locked onto the network with my laptop, but can't get internet access, then part of the problem has to be the router settings, right? Else I could get online with my laptop (XP). But I guess that is what you were saying.

 

I appreciate the help.

Link to comment
Share on other sites

resolv.conf

nameserver 192.168.0.1

 

I'm starting to wonder if the router is bad. I tried to set it up on an XP machine with no luck. It acts like the router isn't even connected to the DSL modem. I wonder how I can test. The manual says the status light is supposed to blink if everything is working. It blinks a couple of times when you turn it on, then is dark. I don't know if it is supposed to be lit, green, red or what. The manual for this thing is crap.

 

If anybody has any ideas or experience with a D-Link wireless router please let me know.

Link to comment
Share on other sites

OK,

Did you set up the router and put in your password etc..

 

give model no or better a link to the online manual (Dlink have em on line)

your router is not connected to the internet I think, its acting just as a Local LAN DHCP server but you need to set it iup with password/username etc by logginh in

 

use

http://192.168.0.1

in any browser ... this should take you to login/password..

 

then I think usually Dlink have a wizard...

 

the nameserver should have been picked up when the router connected so this makes me think it hasnt...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...