LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 06-18-2005, 04:03 PM   #1
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Rep: Reputation: 15
Angry Internet Connection Sharing (again)


My apologies in advance if I start ranting again. I am really frustrated here. I have been fart arsing around with Linux for two years now. But the one thing I have never achieved is to share a dial up connection with a couple of other computers.

All I want to do on my SuSe 9.3 box is to share the dial up connection to my ISP with two other PCs in my house.

Kinternet sets up the dial up modem nicely. No problems there. There are a couple of NICs and these are configured as well. Both work, both can be 'seen' from the other PCs.

So, in accordance with the book, I seem to have the prerequisites, i.e.configured multiple interfaces (modem, ethernet card etc).

Next, the book says to configure the firewall and set masquerading. I have tried all the "zones" and hammered the keyboard 'til my fingers started bleeding (OK I'm exagerating a little)

But no matter what, when I get to the masquerading part in the firewall part of Yast, zilch. nada. nothing. The frigging thing is grayed out.

What is it with Linux, and especially Suse? Everything else works great. So why make an everyday task like sharing an internet connection so complex? The Mac and WinXP doesn't make me go crazy when I a want to create an ICS gateway!

Novell support has been no help at all. Apparently this is beyond the normal support I am entitled to for buying their package. Bastards! Which, incidentally, is the same excuse I got from Mandrake when I had similar hassles with Mdk 9.x

I would really be grateful for a simple, practical instruction that doesn't require me to read 600 pages that only confuse.

Any help out there?

TIA. I feel much better now
 
Old 06-19-2005, 01:12 AM   #2
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
On the host computer edit the file /etc/init.d/boot.local and enter the following code

Code:
/sbin/iptables -A FORWARD -i eth0 -j ACCEPT
/sbin/iptables --table nat --append POSTROUTING --out-interface modem0 -j MASQUERADE
echo "1" > /proc/sys/netipv4/ip_forward
Restart your computer and ip forwarding will be automatically setup everytime you start your computer.
 
Old 06-26-2005, 05:48 PM   #3
Z8002
LQ Newbie
 
Registered: Sep 2003
Location: Lancashire
Distribution: SuSe 9.0
Posts: 12

Rep: Reputation: 0
Sorry if I'm being obtuse. Would

/sbin/iptables -A FORWARD -i eth0 -j ACCEPT
/sbin/iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
echo "1" > /proc/sys/netipv4/ip_forward

work for two NICs? Would it over-ride anything in the SuSe firewall? Would it solve my problem (in the next post up)? Thanks...
 
Old 06-26-2005, 11:50 PM   #4
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
Yeah should work dont' see why not, first line should be incoming internet connection and second the going the network.
 
Old 07-04-2005, 11:13 PM   #5
zengbebe
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
http://www.linuxquestions.org/questions/history/326095

please see my post above, I followed a HOWTO on the novell website and it worked for me, there is no need to mess around with iptable stuffs, everything can be configured within YAST
 
Old 07-05-2005, 04:03 PM   #6
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
To set it up using YaST one must enable the firewall and for some of us that would be redundent or something we just don't want to do. Setting it up using ip tables doesn't require a firewall.
 
Old 07-05-2005, 05:55 PM   #7
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zengbebe
http://www.linuxquestions.org/questions/history/326095

please see my post above, I followed a HOWTO on the novell website and it worked for me, there is no need to mess around with iptable stuffs, everything can be configured within YAST
Thanks.
I was aware of that configuration which works fine on ADSL/ Cable connections.

I tried to work my way through it again, but because I have a dial up connection I cannot 'plug the internet connection' into one of the ethernet cards. Anyway, after a few hours of mucking about I only managed to wreck the network setup on the Linux box. A couple of more hours to get it going again, which didn't work. IN frustration I then reinstalled Suse from scratch.

I'm going to give up now. Easier to leave a Windows PC in the network for dial up internet sharing. There are some things Mr. Gates does much better than Linux, which is much better for my health ;-)

regards
 
Old 07-05-2005, 10:23 PM   #8
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
Quote:
Originally posted by confused_bof

I'm going to give up now. Easier to leave a Windows PC in the network for dial up internet sharing. There are some things Mr. Gates does much better than Linux, which is much better for my health ;-)
3 of the 4 ISP's I tried to share through windows a year ago didn't work. Most use 3rd party programs and make it impossible to share the connection.
 
Old 07-06-2005, 02:15 AM   #9
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by KohlyKohl
3 of the 4 ISP's I tried to share through windows a year ago didn't work. Most use 3rd party programs and make it impossible to share the connection.
Don't know. That's not been my experience on WinXP. Run the Network Setup wizard, choose the internet connection, select the NIC (if there's more than one), choose file/ printer sharing, click apply, wait a moment or two and it's done. Wortks every time for me.

I don't care what the Linux purists say, it has to be a better way than wading through pages of instructions, spend hours on end trying to sort it only to find in the end that everything's broken.

Anyway, it works on Windoze so I will leave it alone.
 
Old 07-06-2005, 02:28 AM   #10
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by KohlyKohl
3 of the 4 ISP's I tried to share through windows a year ago didn't work. Most use 3rd party programs and make it impossible to share the connection.
Don't know. That's not been my experience on WinXP. Run the Network Setup wizard, choose the internet connection, select the NIC (if there's more than one), choose file/ printer sharing, click apply, wait a moment or two and it's done. Wortks every time for me.

I don't care what the Linux purists say, it has to be a better way than wading through pages of instructions, spend hours on end trying to sort it only to find in the end that everything's broken.

Anyway, it works on Windoze so I will leave it alone.
 
Old 07-10-2005, 08:56 AM   #11
chirp333
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
I have had the exact same problem and situation with my linux box, and was thinking of the same things! I will try out the suggestions posted. Thanks for all the info.
 
  


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 Connection Sharing explorer Mandriva 1 03-17-2005 06:25 PM
Internet connection sharing mark_booze Linux - Newbie 22 01-02-2004 12:37 AM
internet connection sharing Sathe Linux - Newbie 4 12-05-2001 08:59 PM
internet connection sharing Danobri Linux - Networking 14 07-21-2001 11:50 PM
Internet Connection Sharing qsilver Linux - Networking 1 07-19-2001 01:31 AM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration