LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 02: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, 03:10 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Rep: Reputation: 71
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, 03: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, 04:00 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,756

Rep: Reputation: 71
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, 04: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, 04: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


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

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

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