LinuxQuestions.org
Visit Jeremy's Blog.
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 04-07-2003, 01:40 PM   #1
CurlyMo
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
Unhappy Internet routing broke


I had a linux slackware machine sharing the internet in my network. Last weekend the there was a power failure and my computer had to restart.

The problem is that most of my configurations are gone.

I have
eth0: 192.168.2.104 (local)
gateway: 192.168.2.1
eth1: 10.0.0.151 (xdsl)
gateway: 10.0.0.138

I can't get my iptables, ipchains, masquerading or whatever to work anymore.
 
Old 04-07-2003, 02:10 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Sounds like you had data loss. Do you have a back up? If not, I would backup all the stuff that you would like to keep and re-install. Also us a journalizing file system like ext3 or reiserfs. They are more reliable when you have a hard reboot.
 
Old 04-07-2003, 02:27 PM   #3
CurlyMo
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
It isn't data loss.

The problem is that the configurations i made then where not saved in any batch file so when the system restarted i lost all those config's.

I was stupid enough to not write it down so i an desparetly searching the net for that manual that worked for me (haven't found it yet).

Now i'm asking you guys to help me out with reconfiguring.
 
Old 04-07-2003, 03:00 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
This is just your iptables config? Did you enter all the commands manually? If so, you could log on and hit the up arrow. Your last 200 (?) command are recored. If not, I thing that you are out of luck.
 
Old 04-07-2003, 03:18 PM   #5
CurlyMo
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I did a lot more on my computer after my configuration than 200 commands so that's not an option.

Doesn't anybody know what the commands are configure my computer again.
 
Old 04-07-2003, 03:55 PM   #6
CurlyMo
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
i got it to work on the most wierd option i could ever think off.

it's like this:

I have a router with 4 ports and a wan port
I have a xdsl modem.

What i did was putting all my computers on the ethernet ports plus the modem (and not on the wan port). So the router sees the moden as a computer.

The router suddenly started acting like a switch and didn't give any more dhcp's

All the configuration comes from the moden including the dhcp.
I can't even reach the modem config screen.

This shouldn't be possible normally right!!

But what the hell it works.
 
  


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
Internet broke on FC4 apachedude Fedora 4 07-12-2005 01:51 AM
Newbie's internet is broke cybersaga Linux - Laptop and Netbook 7 09-16-2004 12:32 AM
internet broke Craigwd Debian 9 09-02-2004 01:39 PM
Internet Connection Routing? MythX Linux - Networking 1 10-20-2003 09:00 PM
Routing to Internet dunmarie Linux - Networking 6 09-18-2003 06:19 AM

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

All times are GMT -5. The time now is 01:00 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
Open Source Consulting | Domain Registration