LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-28-2005, 01:17 PM   #1
natbrazil
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
internet won't reactivate after reboot


Hi All,

problem: internet won't reactivate after reboot

just installed fc3, went fine, activated my one nic card and got on net just fine, but upon reboot it doesn't reconnect to internet. this will be important as it'll be a remote server rebooted remotely, LOL! I checked the network setup and it IS set to activate upon reboot.

I have one nic, one network device named eth0:1 and it is set to activate when computer starts, but it doesn't. When I manually activate it, my net connection is fine.

How do I troubleshoot this to determine why it doesn't activate upon reboot?

Here is my ifconfig info, before and after manual activation

before - (not working)
----------------------------
[root@localhost ~]# ifconfig
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:2620 errors:0 dropped:0 overruns:0 frame:0
TX packets:2620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3039384 (2.8 MiB) TX bytes:3039384 (2.8 MiB)

after - (is working but will revert to above on reboot)
----------------------------
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:B0:0C:60
inet6 addr: fe80::250:baff:feb0:c60/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:120 (120.0 b) TX bytes:2931 (2.8 KiB)
Interrupt:193 Base address:0x2000

eth0:1 Link encap:Ethernet HWaddr 00:50:BA:B0:0C:60
inet addr:216.153.214.234 Bcast:216.153.214.255 Mask:255.255.255.192 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:193 Base address:0x2000

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:2620 errors:0 dropped:0 overruns:0 frame:0
TX packets:2620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3039384 (2.8 MiB) TX bytes:3039384 (2.8 MiB)


Thx all
 
Old 01-28-2005, 01:44 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
To get eth0:1 up at boot, eth0 must also be started..

Check /etc/sysconfig/network-scripts/ifcfg-eth0 & eth0:1 and make sure ONBOOT=yes
 
Old 01-28-2005, 06:10 PM   #3
natbrazil
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thx Peter,

I'm not sure but I may have inadvertently deleted it thinking it was just a failed instance. What would I do to recreate it?
 
Old 01-29-2005, 04:48 PM   #4
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
check file
/etc/sysconfig/network-scripts/ifcfg-eth0
and if it has been deleted then in a terminal window open an editor
for instance
gedit /etc/sysconfig/network-scripts/ifcfg-eth0
and add the line
ONBOOT=yes
and also for eth1
 
Old 01-30-2005, 07:04 AM   #5
dashakol
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
Lightbulb hope it works

dear friend

please compelete this file ----> vi /etc/sysconfig/network-scripts/ifcfg-eth0:1 with these items

DEVICE=eth0:1
ONBOOT=yes
BOOTPROTO=static
IPADDR=216.153.214.234
NETMASK=255.255.255.192
BROADCAST=216.153.214.255
NETWORK=255.255.255.192


then type :

/etc/init.d/network stop
/etc/init.d/network start

if failed.......type

ifconfig eth0:1 down
ifconfig eth0:1 up



you can reboot many times

Last edited by dashakol; 01-30-2005 at 07:07 AM.
 
Old 02-01-2005, 02:54 PM   #6
natbrazil
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Original Poster
Rep: Reputation: 0
thx all, I'm reinstalling for other reasons, I'll see how it goes and pay attention to above, thx
 
  


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
How to reactivate process sent to background zeb_666 Linux - Newbie 3 11-28-2005 12:45 PM
Newbie doesnt know how to reactivate firewall in Suse 9.2 lilbuddie78 Linux - Security 1 11-12-2005 02:50 AM
Reboot and no internet dougwo Linux - Newbie 6 08-12-2004 07:02 AM
reactivate GRUB? semaphore Fedora 2 03-10-2004 10:43 AM
how to reactivate text-login? Luc Linux - Newbie 6 11-01-2002 06:21 PM

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

All times are GMT -5. The time now is 11:23 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