LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2009, 11:46 AM   #31
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898

Please read the post from baig #21
and fill in the file as proposed in the post.
You can't fill in whatever you want.
 
Old 04-15-2009, 12:26 PM   #32
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
IFCONFIG


eth0 Link encap:Ethernet HWaddr 00:16:76:87:A6F
inet addr:192.168.1.60 Bcast:255.255.255.255 Mask:192.0.0.0
inet6 addr: fe80::216:76ff:fe87:a6df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6789 (6.6 KiB) TX bytes:3625 (3.5 KiB)

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:144 errors:0 dropped:0 overruns:0 frame:0
TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11952 (11.6 KiB) TX bytes:11952 (11.6 KiB)
 
Old 04-15-2009, 12:31 PM   #33
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
inet addr:192.168.1.60 Bcast:255.255.255.255 Mask:192.0.0.0
are you for real ?

Code:
USERCTL=no
PEERDNS=yes
IPV6INIT=no
TYPE=Ethernet
DEVICE=eth0:1
BOOTPROTO=none
IPADDR=192.168.1.60
ONPARENT=no
NM_CONTROLLED=no
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
 
Old 04-15-2009, 12:40 PM   #34
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
thats what i entered but the IFconfig displayed the result in post #32.

i tried using ping after that and it worked for about a minute but after that the PING command said "network unreachable"
 
Old 04-15-2009, 12:52 PM   #35
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
ping working after i restarted but i still can not connect to internet...
 
Old 04-15-2009, 12:54 PM   #36
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try to disable networkmanager
Code:
service NetworkManager stop
Then fill in the values in the file, and restart network
Code:
service network restart

ifconfig
route -n
 
Old 04-15-2009, 12:59 PM   #37
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
Why don't you download NetworkManager rpms with deps from using another OS and install them using

rpm -iUh NetworkManager*


I had fixed that this way..

I am sure this is the very same bug which i had faced.. Disable NetworkManager and edit your ifcfg-eth0 file manually.. That may help.


Cheers!!
 
Old 04-15-2009, 01:17 PM   #38
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
I ran:

service NetworkManager stop

and the connection stopped sucessfully. but when I ran:

service network restart

it said "OK" for the things that were restarted but i could no long ping the computers in my network. when i restarted the computer the ping worked again
 
Old 04-15-2009, 01:18 PM   #39
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
so, you can ping at the moment?
the network is OK ?
 
Old 04-15-2009, 01:22 PM   #40
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
when i ran:

rpm -iUh NetworkManager*

i got the error:

Error: file not found by Glob
 
Old 04-15-2009, 01:22 PM   #41
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
yep i can ping the network computers but i can not connect to the internet
 
Old 04-15-2009, 01:27 PM   #42
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
can you
ping 212.100.160.51
ping www.google.com
 
Old 04-15-2009, 01:39 PM   #43
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
PING 212.100.161.50

PING 212.100.161.50 (212.100.161.50) 56(84) bytes of data.
From 192.168.0.60 icmp_seq=2 Destination Host Unreachable
From 192.168.0.60 icmp_seq=3 Destination Host Unreachable
From 192.168.0.60 icmp_seq=4 Destination Host Unreachable
From 192.168.0.60 icmp_seq=6 Destination Host Unreachable
From 192.168.0.60 icmp_seq=7 Destination Host Unreachable
From 192.168.0.60 icmp_seq=8 Destination Host Unreachable
From 192.168.0.60 icmp_seq=10 Destination Host Unreachable
From 192.168.0.60 icmp_seq=11 Destination Host Unreachable
From 192.168.0.60 icmp_seq=12 Destination Host Unreachable
...

--------------------------------------------

www.google.com
ping: unknown host www.google.com
 
Old 04-15-2009, 01:43 PM   #44
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
can you ping the router?
ping 192.168.1.254

192.168.1.254 is the ip from the router, right?

what is the output from
route -n
ifconfig
 
Old 04-15-2009, 01:48 PM   #45
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
ping 192.168.1.254:

PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_seq=1 ttl=255 time=2.02 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=255 time=0.803 ms
64 bytes from 192.168.1.254: icmp_seq=3 ttl=255 time=0.802 ms
64 bytes from 192.168.1.254: icmp_seq=4 ttl=255 time=0.810 ms
64 bytes from 192.168.1.254: icmp_seq=5 ttl=255 time=0.806 ms
...

---------------------------

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:16:76:87:A6F
inet addr:192.168.0.60 Bcast:255.255.255.255 Mask:192.0.0.0
inet6 addr: fe80::216:76ff:fe87:a6df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2125 errors:0 dropped:0 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:187321 (182.9 KiB) TX bytes:22660 (22.1 KiB)

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:241 errors:0 dropped:0 overruns:0 frame:0
TX packets:241 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21408 (20.9 KiB) TX bytes:21408 (20.9 KiB)

-------------------------------------

Route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.0.0 0.0.0.0 192.0.0.0 U 1 0 0 eth0
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cannot set up network with suse vmware using bridged network config. lxvor SUSE / openSUSE 1 02-08-2009 04:50 PM
How to set up network permissions for user accounts. Restrict network access. r00tb33r Linux - Networking 7 02-04-2007 10:10 PM
Is this a secure way to set up a home network (with network storage) ? phildacey Linux - Security 2 08-24-2006 05:25 AM
How do I set up a network connection to OSX? CyberLord_7 Linux - Newbie 3 03-07-2006 04:29 PM
How do i install a network card/drivers or set up internet connection sharing? Daz155HGT Linux - Newbie 1 04-20-2004 06:22 PM


All times are GMT -5. The time now is 10:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration