LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Share dial-up usb modem internet connection between Redhat linux (https://www.linuxquestions.org/questions/linux-networking-3/share-dial-up-usb-modem-internet-connection-between-redhat-linux-678813/)

varunkant 10-24-2008 09:47 AM

Share dial-up usb modem internet connection between Redhat linux
 
Hi
I have a usb modem (dialup connection) which i use to browse the internet. Works fine in Redhat linux 5.0 (installed in my laptop) ,now i want to share it from my laptop to a Redhat installed PC. Plz tell me how can i share this Internet????

Thanx

jonaskoelker 10-24-2008 06:45 PM

Try following this guide: http://www.cyberciti.biz/faq/rhel-fe...sharing-howto/

It was really easy to find with Google; you should try using that some time ;)

varunkant 10-25-2008 12:22 AM

Thanx
 
Yes i did try with google, but i didnt find to share a dial up connection

jonaskoelker 10-25-2008 05:33 AM

So, did the guide work out for you?

varunkant 10-26-2008 05:46 AM

Hello
 
No... There Are Only For Broadband Sharing... Not For A Dial-up Connection

jonaskoelker 10-26-2008 07:33 AM

Quote:

No... There Are Only For Broadband Sharing... Not For A Dial-up Connection
Really? The guide mentions dial up explicitly, and broadband not at all (AFAICT).

Nevertheless, please paste the following information for both of your machines:

/proc/sys/net/ipv4/ip_forward
$ ip route
$ ifconfig
$ iptables -t TABLE -nL
(replace TABLE with each of nat, filter, mangle, raw)
/etc/hosts
/etc/network/interfaces
(this is probably called something different of red hat linucies; post the configuration of your network interfaces)
/etc/resolv.conf

Which steps of the guide did you perform? Did any of them fail?

One thought: if your ISP lets you connect more than one machine, you can also bridge the two networks instead. That effectively turns the one connected to your ISP into a switch for the other one, so that it gets dhcp information from the ISP and you don't need to set up dhcp/dns/routing configuration yourself. I'd probably go with this unless you want the ISP-facing box to also act as a firewall [and even so, you can use ebtables]. Search the web for a good bridging guide :)


All times are GMT -5. The time now is 07:09 AM.