LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-20-2003, 08:00 PM   #1
Larry Buck
LQ Newbie
 
Registered: Aug 2003
Location: Daytona Beach Fl.
Distribution: RH 9
Posts: 6

Rep: Reputation: 0
network problem


I am a newby to linux and have no idea what t have going here. when I start computer network with other computer works fine. After 2 hours or so network connection goes away. rebooting does not bring ir back must shut down computer and it will work again only for a while then goes away again and have to do same process to get it back. Can anyone help. running RH9 on HP laptop Windows 98 on other computer.
 
Old 08-20-2003, 09:09 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
moved to networking
 
Old 08-20-2003, 09:42 PM   #3
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
When you are running with network working, log in a root and at a command line (use xtem if you are in the GUI) and give these two commands, and post the output.

ifconfig

netstat -nr

When the network goes away, run the same two commands and post their output.

Cheers--
Charles
 
Old 08-20-2003, 10:07 PM   #4
Larry Buck
LQ Newbie
 
Registered: Aug 2003
Location: Daytona Beach Fl.
Distribution: RH 9
Posts: 6

Original Poster
Rep: Reputation: 0
Like I said I am brand new to linux . can you be a little more specific
log in a root and at a command line (use xtem if you are in the GUI. Please explain. Thank you in advance
.
 
Old 08-21-2003, 07:28 AM   #5
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Hmm. That new, huh. We were all there once, so don't sweat it. Just write down what you learn so you, too, can pass it on to others. They will thank you for it.

You can log into linux as one of two persona's: root, or as a "normal" user. When you loaded RH9 it wanted you to cteate a root password; you did this fairly early in the install process. That passowrd will make you root. The person who has the power to do eveything and anything. Except for installing some software and doing testing, never log in as root. When you booted your machine for the first time, RH asked you to create at least one normal user. This is the "you" that you should normally log in as.

Now then, while RH offers you a graphical user interface (GUI) to use, there is an underlying command line interface (CLI) which will let you access a number of programs. To RH's credit, many of them now have GUI front ends, rather than the old style CLI; but many do not and so you will have to learn to use the CLI.

On the RH menu, under system tools (I think, this is from memory) you will find an application called terminal, or xterm or some such. It will open a window with a blinking prompt, and look much like an old Microsoft DOS window in Windows. At this prompt
type this:

su - root

You will then be asked for a password. This is root's password. When you give it successfully, the name at the prompt will change (big CLUE!).

Now type

ifconfig

You should then be able to use your mouse and cut and paste the output to your browser to post in a message here.

Next type

netstat -nr

Post that output. Oh, be sure to hit the "enter key" at the end of each command after you type it. That's the signal linux needs to "run" the command.

When you are done being root, just type

exit

and that will return you to being you.

If you need greater detail, just say so.

Cheers--
Charles
 
Old 08-21-2003, 10:30 AM   #6
BrettPower
Member
 
Registered: Aug 2003
Location: Daytona Beach, FL
Distribution: Gentoo and FC3
Posts: 65

Rep: Reputation: 15
This is what I came up with with the network NOT working

eth0 Link encap:Ethernet HWaddr 00:02:3F:39:E0:F0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13658 errors:0 dropped:0 overruns:0 frame:0
TX packets:14733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:7120703 (6.7 Mb) TX bytes:3757476 (3.5 Mb)
Interrupt:11 Base address:0x7800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1404750 errors:0 dropped:0 overruns:0 frame:0
TX packets:1404750 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:217914080 (207.8 Mb) TX bytes:217914080 (207.8 Mb)

And netstat - nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.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.1.1 0.0.0.0 UG 0 0 0 eth0
 
Old 08-21-2003, 10:49 AM   #7
Larry Buck
LQ Newbie
 
Registered: Aug 2003
Location: Daytona Beach Fl.
Distribution: RH 9
Posts: 6

Original Poster
Rep: Reputation: 0
This is with the Network WORKING

eth0 Link encap:Ethernet HWaddr 00:02:3F:39:E0:F0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13778 errors:0 dropped:0 overruns:0 frame:0
TX packets:14858 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:7154174 (6.8 Mb) TX bytes:3777109 (3.6 Mb)
Interrupt:11 Base address:0x7800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1429803 errors:0 dropped:0 overruns:0 frame:0
TX packets:1429803 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:221764729 (211.4 Mb) TX bytes:221764729 (211.4 Mb)

[root@localhost root]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.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.1.1 0.0.0.0 UG 0 0 0 eth0

This is when its NOT working

This is what I came up with with the network NOT working

eth0 Link encap:Ethernet HWaddr 00:02:3F:39:E0:F0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13658 errors:0 dropped:0 overruns:0 frame:0
TX packets:14733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:7120703 (6.7 Mb) TX bytes:3757476 (3.5 Mb)
Interrupt:11 Base address:0x7800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1404750 errors:0 dropped:0 overruns:0 frame:0
TX packets:1404750 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:217914080 (207.8 Mb) TX bytes:217914080 (207.8 Mb)

And netstat - nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.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.1.1 0.0.0.0 UG 0 0 0 eth0

I am also getting this error when I reboot
There was an error starting the Gnome settings Daemon
Some things such as Themes, Sounds, or background settings may not work correctly
The Settings daemon restarted too many times
The last error message was: Child process did not give an error message, uknown failure occured
Gnome will still try to restart the settings Daemon next time you log in.
Then it shows 2 questions
The panel encountered a problem while loading "oaflld:Gnome MixerApplet"
DETAILS: Child process did not give error message, unkown failure occured Do you want to DELETE the applet from your configuration.
Gives 2 options DELETE OR DONT DELETE

2nd question
The panel encountered a problem while loading "OAFIID:GNOME_SystemTrayApplet"
Details: Child process did not give an error message, unknown failure occurred

Do you want to delete the applet from your configuration?
DELETE OR Dont Delete

Last edited by Larry Buck; 08-21-2003 at 11:21 AM.
 
Old 08-21-2003, 07:02 PM   #8
Larry Buck
LQ Newbie
 
Registered: Aug 2003
Location: Daytona Beach Fl.
Distribution: RH 9
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by BrettPower
This is what I came up with with the network NOT working

eth0 Link encap:Ethernet HWaddr 00:02:3F:39:E0:F0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13658 errors:0 dropped:0 overruns:0 frame:0
TX packets:14733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:7120703 (6.7 Mb) TX bytes:3757476 (3.5 Mb)
Interrupt:11 Base address:0x7800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1404750 errors:0 dropped:0 overruns:0 frame:0
TX packets:1404750 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:217914080 (207.8 Mb) TX bytes:217914080 (207.8 Mb)

And netstat - nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.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.1.1 0.0.0.0 UG 0 0 0 eth0

Last edited by Larry Buck; 08-21-2003 at 07:07 PM.
 
Old 08-21-2003, 07:05 PM   #9
Larry Buck
LQ Newbie
 
Registered: Aug 2003
Location: Daytona Beach Fl.
Distribution: RH 9
Posts: 6

Original Poster
Rep: Reputation: 0
eth0 [/B][/QUOTE]

Last edited by Larry Buck; 08-21-2003 at 07:06 PM.
 
Old 08-22-2003, 07:23 AM   #10
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
OK, the GNOME error is happening because GNOME can't get an IP address, so it can't start the daemons that depend on the netork being solid. Annoying as all get out, but safely ignorable for the moment.

Your routing seems correct, except for where the gateway IP address is coming from. Do you know if you are using DHCP? Do you know what device on your network has IP address 192.168.1.1? Are you using a cable modem or dsl modem to get to the internet?

Please post the contents of

/etc/sysconfig/network-scripts/ifcfg-eth0

I am shooting in the dark here. Can you tell? Diagnosing network issues from a distance ain't easy!

Cheers--
Charles
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 03:46 PM
Two network cards = network problem filch Linux - Networking 3 01-04-2005 02:06 AM
Fine network configutarion but network problem, why? papitu76 Linux - Networking 5 06-17-2004 02:05 PM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM

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

All times are GMT -5. The time now is 11:28 PM.

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