On Sat, Mar 25, 2006 at 06:57:10PM -0800, maxim wexler wrote > ----------------Sempron-2.6.12------------------------ > > sarawak heathen # route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 64.228.98.241 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo > 0.0.0.0 64.228.98.241 0.0.0.0 UG 0 0 0 ppp0
Ouch; you're *NOT* going to connect the two machines while logged on via dialup, at least not without some fancy "route" statements. If anybody can give an example of how to do it, I'd appreciate seeing it. > ------------K6-2.6.15---------------------- > > > lumberton ~ # route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo > Did you miss the last line when cutting+pasting or or was that really all? Try "grep gateway /etc/conf.d/net" on your machines. Here's what I get... # For setting the default gateway #gateway="eth0/192.168.0.1" gateway="eth0/192.168.123.254" First, make sure that you are *NOT* connected via dialup. On the K6, insert into /etc/conf.d/net the line gateway="eth0/192.168.0.2" and execute /etc/init.d/net.eth0 restart On the Sempron, insert into /etc/conf.d/net the line gateway="eth0/192.168.0.3" and execute /etc/init.d/net.eth0 restart You should now be able to talk between the two machines... but dialup won't work. You may connect, but not get anywhere. Here's what you have to do on the Sempron... - *BEFORE* dialing up "ifconfig eth0 down"; you can now dial up - *AFTER* logging off dialup, "/etc/init.d/net.eth0 restart"; you can now talk between the two computers If someone has a magic configuration that allows eth0 and ppp0 to co-exist, and function, simultaneously, please post it. -- Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list