This is a discussion on Routeing linux via windows ppp connect within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Cant get linux to connect to my wireless provider, so trying to route thru my W2K, which can. Both ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Cant get linux to connect to my wireless provider, so trying to route thru my W2K, which can. Both machines are members of 192.168.1.0 subnet on eth0. Added windows IP as default GWY and the windows DNS servers on the windows PPP connection to my resolv.conf. Has any one set this up? I believe you need to setup some RAS services under windows to achive the tunneling. Thanks TonyB |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 TonyB <comxoft@yahoo.com> wrote: > Cant get linux to connect to my wireless provider, so trying to > route thru my W2K, which can. > > Both machines are members of 192.168.1.0 subnet on eth0. > Added windows IP as default GWY and the windows DNS servers > on the windows PPP connection to my resolv.conf. > > Has any one set this up? I believe you need to setup some > RAS services under windows to achive the tunneling. > > Thanks > TonyB > Why not try to do this the other way around? have PPP going out to the linux box from the ISP, and use iptables to masquerade your network, allowing your windows box to use the same connection? Either way, IP Masquerading is what you are needing. Have a look at the IPTables and IP-Masquerading HOWTO. That'll get you what you're looking for. BL. - -- Brad Littlejohn | Email: tyketto@sbcglobal.net Unix Systems Administrator, | tyketto@ozemail.com.au Web + NewsMaster, BOFH.. Smeghead! PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCHnAnyBkZmuMZ8L8RAvbpAJ9IZHtNqZhQ7Le+OuIHh1 wiszIBHACg+nLZ zADMDAOQfD4IMpQfsHkqI+s= =AEsZ -----END PGP SIGNATURE----- |
| |||
| "TonyB" typed: > Cant get linux to connect to my wireless provider, so trying to > route thru my W2K, which can. > > Both machines are members of 192.168.1.0 subnet on eth0. > Added windows IP as default GWY and the windows DNS servers > on the windows PPP connection to my resolv.conf. > > Has any one set this up? I believe you need to setup some > RAS services under windows to achive the tunneling. If all you want is to share the Internet connection on the GNU/Linux box, then enable Internet Connection Sharing on the Windows box and, simply, assign the ethernet IP of the Windows box as a gateway to the GNU/Linux box. And, yes, do place a valid nameserver entry in /etc/resolv.conf. And that's it. -- Ayaz Ahmed Khan, http://fast-ce.org/ "Ten years of rejection slips is nature's way of telling you to stop writing." -- R. Geis |
| |||
| On Thu, 24 Feb 2005 12:06:14 -0800, TonyB wrote: > Cant get linux to connect to my wireless provider, so trying to > route thru my W2K, which can. > > Both machines are members of 192.168.1.0 subnet on eth0. > Added windows IP as default GWY and the windows DNS servers > on the windows PPP connection to my resolv.conf. > > Has any one set this up? I believe you need to setup some > RAS services under windows to achive the tunneling. > > Thanks > TonyB er.. just to add to what the others have said.. keep an eye on the ip's of your windows ethernet interfaces.. it (windows) has a very bad habit of reassigning them new and sometimes completely unrelated ips very often in the 169.something.something.* range ( forget the two middle octets) this (reassignment) is because of windows default dhcp settings also.. windows has been known to reassign the interfaces new ips.. but still within the same range as you desired moral of the long post.. keep an eye on the interface ips -- Hardware, n.: The parts of a computer system that can be kicked |
| |||
| On 25 Feb 2005 08:11:00 GMT Ayaz Ahmed Khan <resilient@myrealbox.com> wrote: > "TonyB" typed: > > Cant get linux to connect to my wireless provider, so trying to > > route thru my W2K, which can. > enable Internet Connection Sharing on the Windows box and, > simply, assign the ethernet IP of the Windows box as a gateway to > the GNU/Linux box. And, yes, do place a valid nameserver entry in > /etc/resolv.conf. And that's it. > Thanks, located the INET sharing property and set it. Then, reset the W2K gwy ip back to the correct one on my local ethernet (W2K resets it to 192.168.0.1 ...) already had the nameservers, so linux now routes fine through the Windows gateway. Problem has been that I have not been able to 'pppd call tmobile' on the Linux host. I do CONNECT, and I can see the auth pap handshake, but then the TMobile uplink stops chatting with me and configuring my dynamic IP. Checked and crosscheck'd my pppd options in peers/tmobile with those the linux guys have published on the Internet as working, and nak. Saw a multilink patch that needs to be applied to pppd-2.4.2 pppd/auth.c so I am going to recompile and see if that works. TonyB -- __ __ _ I N C. http://www.sysdev.org / __|\\// __|| \ __ __ / tonyb@sysdev.org \__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities |___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers |
| |||
| "Joaco" typed: > Ayaz Ahmed Khan wrote: >> "TonyB" typed: >>> Cant get linux to connect to my wireless provider, so trying to >>> route thru my W2K, which can. >>> >> enable Internet Connection Sharing on the Windows box and, >> simply, assign the ethernet IP of the Windows box as a gateway to >> the GNU/Linux box. And, yes, do place a valid nameserver entry in >> /etc/resolv.conf. And that's it. >> > Thanks, located the INET sharing property and set it. Then, reset > the W2K gwy ip back to the correct one on my local ethernet (W2K > resets it to 192.168.0.1 ...) already had the nameservers, so linux > now routes fine through the Windows gateway. > > Problem has been that I have not been able to 'pppd call tmobile' > on the Linux host. I do CONNECT, and I can see the auth pap > handshake, but then the TMobile uplink stops chatting with me and > configuring my dynamic IP. Checked and crosscheck'd my pppd options > in peers/tmobile with those the linux guys have published on the > Internet as working, and nak. > > Saw a multilink patch that needs to be applied to pppd-2.4.2 > pppd/auth.c so I am going to recompile and see if that works. If you can successfully set up a dial-up connection on the Windows 2000 box and have enabled Internet connection sharing, everything else considered, you don't need to set up pppd on the GNU/Linux box to get to the Internet. Windows 2000's connection sharing feature will take care of the masquerading for you. Over here, iptables running on my laptop masquerades my desktop box and lets it access the Internet through the dial-up connection established through the laptop. Both the desktop and laptop run slackware, though. A friend, however, uses Internet connection sharing on Windows XP to share his dial-up connection among three to four people connected to his small LAN. And when I took my desktop to his house sometime last month to finish off our last semester's data structure project, all I had to do to get to the Internet was to plug in the ethernet cable and set up the appropriate gateway on my box. -- Ayaz Ahmed Khan, http://fast-ce.org/ "Ten years of rejection slips is nature's way of telling you to stop writing." -- R. Geis |
| ||||
| On 1 Mar 2005 02:07:10 GMT Ayaz Ahmed Khan <resilient@myrealbox.com> wrote: > "Joaco" typed: > > Ayaz Ahmed Khan wrote: > >> "TonyB" typed: > >>> Cant get linux to connect to my wireless provider, so trying to > >>> route thru my W2K, which can. > >>> > Over here, iptables running on my laptop masquerades my desktop box > and lets it access the Internet through the dial-up connection > established through the laptop. Both the desktop and laptop run > slackware, though. A friend, however, uses Internet connection > sharing on Windows XP to share his dial-up connection among three > to four people connected to his small LAN. And when I took my > desktop to his house sometime last month to finish off our last > semester's data structure project, all I had to do to get to the > Internet was to plug in the ethernet cable and set up the > appropriate gateway on my box. > > -- > Ayaz Ahmed Khan, > http://fast-ce.org/ I think I found the problem with my Linux, that was not allowing me to connect pppd to TMobile GPRS. I started playing with an Ericsson gc83 PC Card on ATT Wireless and that complained that the kernel did not support PPPfiltering and stopped talking to me, just like TMobile. Checked my kernel's .config and right enough, it was turned off because I had chosen not to set CONFIG_EXPERIMENTAL=y Building it right now, so I will see if that makes pppd work with GPRS sessions on the Slackware box. Tony - __ __ _ I N C. http://www.sysdev.org / __|\\// __|| \ __ __ / tonyb@sysdev.org \__ \ \/\__ \||)|/ O_)\/ / \/ System Tools / Utilities |___/ || ___/|_ /\___|\_/ WIntel / Linux Device Drivers |