SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 4th, 2002, 09:16 AM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
After 3 days stress and headaches

A full reinstall, several kernal recompiles, lots of swearing, tea and beer I have finally got my linux box as a secure router sharing the internet connection with another PC in my mini network!

I know most linux people think its easy but I found it a complete pain in the arse and I'm so please that I cracked it!!

Once I have found the problem it took me about 30 minutes

This is the godsend from redhats website...

Quote:
The default firewall mechanism under the 2.4 kernel is iptables, but iptables cannot be used if ipchains are already running. If ipchains are present at boot time, the kernel will issue an error and fail to start iptables.


Lo and behold the little bastard ipchains were running, when I was trying to set up iptables

I just had to share that with you lol

Reply With Quote
  #2  
Old October 4th, 2002, 02:02 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
nice

Hey - what a great post. I like it when people visit these forums just to post a tip.. or a comment - rather than /only/ asking for help.

so well done ! and thanks for the tip

now I'm off to ask for help
Anyone seen Manuel lately?

christo

Reply With Quote
  #3  
Old October 5th, 2002, 06:04 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
ha, what coincidence

i am back from today on. had a lot of trouble over the last weeks.

what´s up?

i am digging the threads of the last week right now, till then...

M
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #4  
Old October 5th, 2002, 08:55 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
heh !

good to see you're back anyway
I've had some fun over the last couple of weeks setting up a couple of new machines on the network at work... and so I've found myselef asking about lots of really stupid simple little things that I've always taken for granted !!

anyway, let's get back to work

christo

Reply With Quote
  #5  
Old October 9th, 2002, 03:08 PM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
how are the speeds using linux as a router vs buying a dedicated router? i read an article in a linux mag, but the following month some readers said that the article was crap and that it mislead users into thinking that there was no need for routers at all when u could configure linux to do it........
__________________

microsofts butterfly is their way off telling u their systems have a **** load of buggs
Advocating Linux Guide
Lesbian Linux
Great & Practical Computer Books

like the links?

Reply With Quote
  #6  
Old October 9th, 2002, 03:29 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
I suspect it'll depend on your harware and netowrk load.. what's the sitch?

c

Reply With Quote
  #7  
Old October 9th, 2002, 05:05 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
I've got my laptop (with linux) connected by a crossover cable to my main PC with 2 ethernet 10/100 Mbit network cards.
The laptop connects to the internet by an adsl modem..

Have not noticed any difference in downloading, connecting to sites etc.

Reply With Quote
  #8  
Old October 9th, 2002, 06:06 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
no need for a dedicated router there ! your main pc will serve happily as a router and if you're using linux, you have chance to learn a load about firewalling and iptables etc.. I'd stick with that!

btw, don't suppose you have a spare adsl filter kicking around ?

christo

<doh>
just noticed.. I thought that I was answering a question there - but you were only making a statement... bring me caffeine !!
</doh>

Last edited by christo : October 9th, 2002 at 06:09 PM.

Reply With Quote
  #9  
Old October 10th, 2002, 04:26 AM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
No m8 sorry, just got the one!

Reply With Quote
  #10  
Old October 10th, 2002, 12:22 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
np ta

just vame back from linux expo 2002 at olympia - what a heap of ****e.

back to work..

xpucto

Reply With Quote
  #11  
Old October 26th, 2002, 11:38 PM
Nitrox Nitrox is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Michigan
Posts: 11 Nitrox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If it means anything, I set up a k6-333 with 64mb ram for use as a router just to share my cable connection (Comcast locks 1 MAC address per modem ).

My pings were noticably higher for an online game I play... Tweaked around a bit but it didnt change. My downloads were pretty close to the same speeds tho.

Last edited by Nitrox : October 27th, 2002 at 12:30 AM.

Reply With Quote
  #12  
Old October 27th, 2002, 12:31 PM
4Life 4Life is offline
Please call me Joe ;)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: the web
Posts: 244 4Life User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Nitrox, what did you mean by "Comcast locks 1 MAC address per modem"? Does that mean that I can't use my router? Well, I have been having trouble getting it to work with more than one computer at a time, so maybe that's the reason!

Cheers,
Joe of 4Life
[Proud Linux user ]
__________________
Cheers,
Joe of 4Life

Check out 4Life today!

Reply With Quote
  #13  
Old October 27th, 2002, 04:13 PM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
wouldnt getting a router be cheaper than buying loads network cards for the box that is going to serve as the router?

Reply With Quote
  #14  
Old October 27th, 2002, 04:32 PM
Nitrox Nitrox is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Michigan
Posts: 11 Nitrox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
4Life,

It's Comcasts feeble attempt at keeping you to 1 connection per line. What they do is use your MAC address on your current NIC, so that only that specific NIC can recieve data from the line (ie. Internet).

So if you have a Network Card go bad on ya, or try another card, it wont read at all from the line. You have to call Comcast and get your new card provisioned (able to accept your connection). So I put my COMCAST card in the router box, and branched it off from there

Learned this the HARD way, doing probably exactly what youre doing right now, lol. They do have commercial routers that will defeat this also, but they must say "MAC Cloning enabled" on them.

Reply With Quote
  #15  
Old October 27th, 2002, 09:13 PM
4Life 4Life is offline
Please call me Joe ;)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: the web
Posts: 244 4Life User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Repu