IpX
New Member
Hi all,
I know this is a hot topic and I have read most of the posts. It helped a lot but I still have a few issue. Below is my setup and what I'm trying to accomplish.
I have a Ubuntu 10.042 box with 2 network cards. a Linksys WAG120N ADSL modem (4 port with wireless). I want to have all my other computers, including the ones using wireless use the ubuntu box as the gateway. I also have setup 2 ADSL accounts (International and Local) (I used the tubleweed Tutorial, my modem is not supported so no DD-WRT).
Currently I have setup the 2 ppp (0 & 1) devices. They seem to work and I imported the local routes from http://mene.za.net/za-routes/latest.txt. I am able to connect the modem (I plug both network cards into the modem), other computers (including wireless) can surf through it when I setup static ip's and use the linux box ip as the gateway. I have the following 2 Issues:.
1. I have to manually setup the connection after reboot. My eth0 is not shown in ifconfig after reboot. I have to ifup eth0 to get it going. I also added a static ip address (192.168.0.101) to eth0. I setup all my ppp (0 & 1) to use eth1 for dialing. Also only one ppp is connected. I have to bring it down and then manually bring both up.
2. When I have internet access then I am unable to see my shared folders. They are on a Windows 7 computer but was accessible before I connected to the internet. When I am not connected I can see my folders and work on them. This is important as I have a media player connected that uses shared folders.
I think it has something to do with the eth0. I need to tell the network to use that device for local network traffic and the eth1 for internet and the gateway.
Any help would be appreciated. I may have gotten things messed up because I was following so many FAQ's to try and fix it.
I know this is a hot topic and I have read most of the posts. It helped a lot but I still have a few issue. Below is my setup and what I'm trying to accomplish.
I have a Ubuntu 10.042 box with 2 network cards. a Linksys WAG120N ADSL modem (4 port with wireless). I want to have all my other computers, including the ones using wireless use the ubuntu box as the gateway. I also have setup 2 ADSL accounts (International and Local) (I used the tubleweed Tutorial, my modem is not supported so no DD-WRT).
Currently I have setup the 2 ppp (0 & 1) devices. They seem to work and I imported the local routes from http://mene.za.net/za-routes/latest.txt. I am able to connect the modem (I plug both network cards into the modem), other computers (including wireless) can surf through it when I setup static ip's and use the linux box ip as the gateway. I have the following 2 Issues:.
1. I have to manually setup the connection after reboot. My eth0 is not shown in ifconfig after reboot. I have to ifup eth0 to get it going. I also added a static ip address (192.168.0.101) to eth0. I setup all my ppp (0 & 1) to use eth1 for dialing. Also only one ppp is connected. I have to bring it down and then manually bring both up.
2. When I have internet access then I am unable to see my shared folders. They are on a Windows 7 computer but was accessible before I connected to the internet. When I am not connected I can see my folders and work on them. This is important as I have a media player connected that uses shared folders.
I think it has something to do with the eth0. I need to tell the network to use that device for local network traffic and the eth1 for internet and the gateway.
Any help would be appreciated. I may have gotten things messed up because I was following so many FAQ's to try and fix it.