LinuxQuestions.org
Help answer threads with 0 replies.
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 07-04-2004, 02:53 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Lost internet connection after editing rc.inet2


I was commenting out stuff in /etc/rc.d/rc.inet2 and now I cannot connect to internet, apperently I commented out the wrong things. I set them back exactly how they were and even copied a backup of rc.inet2 that I made over the changed one and that didnt work. I think it has something to do with fstab but im not sure. I have already done chmod 755 rc.portmap and that did nothing. HELP, I take it back, I dont like changing files by hand, lol. I had to post this from XP, yuk.
 
Old 07-04-2004, 05:19 PM   #2
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
This is what I get in syslog:

Jul 4 03:06:42 me inetd[1018]: time/tcp (2): bind: Address already in use

Jul 4 03:06:42 me inetd[1018]: ftp/tcp (2): bind: Address already in use

Jul 4 03:06:42 me inetd[1018]: finger/tcp (2): bind: Address already in use

Jul 4 03:06:42 me inetd[1018]: auth/tcp (2): bind: Address already in use
Jul 4 03:06:42 me

sshd[1021]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Jul 4 03:06:42 me

sshd[1021]: fatal: Cannot bind any address.
Jul 4 03:10:06 me modprobe: modprobe: Can't locate module

char-major-10-134

AND LSMOD does not show the network card module loaded.

Last edited by BajaNick; 07-04-2004 at 08:01 PM.
 
Old 07-04-2004, 10:26 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Got it working. All I had to do is overwrite rc.M with rc.M.new. I could not track down why the original rc.M was bad. I compared it to another one on my other slack box and it was the same, maybe one character deleted or something while I was editing.
Such simple fix and took so long to figure out. Oh well now I know something new.

Last edited by BajaNick; 07-04-2004 at 10:27 PM.
 
Old 07-04-2004, 10:34 PM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Got it working. All I had to do is overwrite rc.M with rc.M.new. I could not track down why the original rc.M was bad. I compared it to another one on my other slack box and it was the same, maybe one character deleted or something while I was editing.
Such simple fix and took so long to figure out. Oh well now I know something new.
 
  


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
Lost internet connection after reboot linux_shminux Linux - Newbie 2 09-18-2005 01:11 PM
Lost internet connection RonCum Linux - Networking 4 04-30-2005 07:53 PM
Lost Internet connection w/ SuSE 9.2 aeszcr1 Linux - Newbie 1 11-19-2004 01:11 AM
Can't reconnect internet when connection has lost Mikessu *BSD 1 06-18-2004 06:37 PM
HELP!!! Internet connection LOST FNC Linux - Networking 9 07-12-2002 12:02 PM

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

All times are GMT -5. The time now is 04:42 AM.

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