[SLUG] SLUG: lan and ppp[0] clash
Sluggers, I've used Linux for some years now but I've struck an issue on which I need a quick fix to my ignorance on - I ask of your knowledge on the following: I have on this machine [195.168.0.1] Mandrake 10.1 on an AMD 64 bit Athlon 3k cpu with .5g ram and 2 80g HDD's and typically run kde 3.2.3 as my desk top. I have an 8 port 10/100 ethernet network switch which permits me to connect computers with each other, I have this machine, a Tosh A10 Satellite [195.168.0.2] and a dual boot mandrake / windoesn't box [195.168.0.3] which MYOB's my accounts [please tell me there is a linux replacement to MYOB]. network picture: domain tac.com.au [nameserver 223.225.0.3] [nameserver 223.225.0.6] | | dialup -- Modem [ppp0] 195.168.0.1 --blue cable--[switch] | | Laptop ethernet port-- 195.168.0.2 --blue cable--[switch] | | accounts -ethernet port-- 195.168.0.3 --blue cable--[switch] So far I am able to transfer files between the laptop and this machine, this is done where I share photos and the like between the laptop and this machine, for this I use gftp and log in to the user on the Toshiba and control the transfer from 195.168.0.1. ie, I start gftp from 195.0.168.0.1, then specify the connection to 195.168.0.2:21 user nick pswd x and push enter and I can see the contents of 195.168.0.2 from 195.0.168.0.1, and can freely transfer files both ways using 195.168.0.1. I would like to be able to do this from konqueror instead of gftp [despite its brilliance] because there are other [ugh] windows users who need to do the same thing though they do not grok any of this, gftp would be 'too hard' for them. How can this be done? How can it be done from [ugh] windoesn't? All machines have an ethernet connection available and I am using the blue cables, can ping each computer from 195.165.0.1, but cannot necessarily ping from, eg, 195.168.0.2 back to 195.168.0.1, it tells me the host is unreachable despite 'ifconfig 195.168.0.1 and 2 up' on both computers - any ideas what I have done wrong here? When I have the lan - ethernet - network running I seem to be precluded from using the internet on this machine 195.168.0.1, and I can't see this machine from 195.135.0.2, nor the internet connection via ppp0. I can have ppp0 running and eth0 running but it will only see the eth0 interface. When I do 'ifconfig 195.168.0.1' down' and then try the internet connection again I can see the internet and can send / receive emails any ideas on what I've done wrong with this set up? screen captures of what to do would really help me with this.. Sometimes I run the laptop in windoesn't for the purpose of downloading pictures from my LG880U camera phone [no, it won't work in linux, no drivers, dammit]. Any ideas on how to get around this issue? It does have a bluetooth so I might be able to get a bt card and do it via that.. ideas please? tia Nick Tomlin. www.alarmist.com.au We scare for you... -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] SLUG: lan and ppp[0] clash
Nicholas Tomlin wrote: Sluggers, I've used Linux for some years now but I've struck an issue on which I need a quick fix to my ignorance on - I ask of your knowledge on the following: I have on this machine [195.168.0.1] Mandrake 10.1 on an AMD 64 bit Athlon 3k cpu with .5g ram and 2 80g HDD's and typically run kde 3.2.3 as my desk top. I have an 8 port 10/100 ethernet network switch which permits me to connect computers with each other, I have this machine, a Tosh A10 Satellite [195.168.0.2] and a dual boot mandrake / windoesn't box [195.168.0.3] which MYOB's my accounts [please tell me there is a linux replacement to MYOB]. SQL-Ledger runs my business - handles GST as well. network picture: domain tac.com.au [nameserver 223.225.0.3] [nameserver 223.225.0.6] | | dialup -- Modem [ppp0] 195.168.0.1 --blue cable--[switch] | | Laptop ethernet port-- 195.168.0.2 --blue cable--[switch] | | accounts -ethernet port-- 195.168.0.3 --blue cable--[switch] So far I am able to transfer files between the laptop and this machine, this is done where I share photos and the like between the laptop and this machine, for this I use gftp and log in to the user on the Toshiba and control the transfer from 195.168.0.1. ie, I start gftp from 195.0.168.0.1, then specify the connection to 195.168.0.2:21 user nick pswd x and push enter and I can see the contents of 195.168.0.2 from 195.0.168.0.1, and can freely transfer files both ways using 195.168.0.1. I would like to be able to do this from konqueror instead of gftp [despite its brilliance] because there are other [ugh] windows users who need to do the same thing though they do not grok any of this, gftp would be 'too hard' for them. How can this be done? How can it be done from [ugh] windoesn't? All machines have an ethernet connection available and I am using the blue cables, can ping each computer from 195.165.0.1, but cannot necessarily ping from, eg, 195.168.0.2 back to 195.168.0.1, it tells me the host is unreachable despite 'ifconfig 195.168.0.1 and 2 up' on both computers - any ideas what I have done wrong here? iptables running somewhere? crossover button on the switch box? When I have the lan - ethernet - network running I seem to be precluded from using the internet on this machine 195.168.0.1, and I can't see this machine from 195.135.0.2, nor the internet connection via ppp0. I can have ppp0 running and eth0 running but it will only see the eth0 interface. When I do 'ifconfig 195.168.0.1' down' and then try the internet connection again I can see the internet and can send / receive emails any ideas on what I've done wrong with this set up? screen captures of what to do would really help me with this.. possibly posting route -n to this list for each box might help Sometimes I run the laptop in windoesn't for the purpose of downloading pictures from my LG880U camera phone [no, it won't work in linux, no drivers, dammit]. Any ideas on how to get around this issue? It does have a bluetooth so I might be able to get a bt card and do it via that.. ideas please? tia Nick Tomlin. www.alarmist.com.au We scare for you... -- Howard. LANNet Computing Associates - Your Linux people http://lannetlinux.com When you want a computer system that works, just choose Linux; When you want a computer system that works, just, choose Microsoft. -- Flatter government, not fatter government; abolish the Australian states. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] SLUG: lan and ppp[0] clash
Nicholas Tomlin wrote: I have on this machine [195.168.0.1] Mandrake 10.1 on an AMD 64 bit Athlon 3k cpu with .5g ram and 2 80g HDD's and typically run kde 3.2.3 as my desk top. I don't run Mandrake, but I might be able to help get you started on a solution to your problem. I won't be able to supply screenshots. Perhaps someone else can assist by translating what I offer here into Mandrake. I have an 8 port 10/100 ethernet network switch which permits me to connect computers with each other, I have this machine, a Tosh A10 Satellite [195.168.0.2] and a dual boot mandrake / windoesn't box [195.168.0.3] which MYOB's my accounts [please tell me there is a linux replacement to MYOB]. network picture: domain tac.com.au [nameserver 223.225.0.3] [nameserver 223.225.0.6] | | dialup -- Modem [ppp0] 195.168.0.1 --blue cable--[switch] | | Laptop ethernet port-- 195.168.0.2 --blue cable--[switch] | | accounts -ethernet port-- 195.168.0.3 --blue cable--[switch] Mind if I redraw this? ^ Dial to Internet, domain:tac.com.au, DNS=223.225.0.[36] | | ppp0 - dynamic address? - | | this - | 0.1 | [ ] Ethernet Switch supporting 195.168.0.* / \ / \ 0.2 / \ 0.3 - - | || | - - laptop accounts Is that right? All machines have an ethernet connection available and I am using the blue cables, can ping each computer from 195.165.0.1, but cannot necessarily ping from, eg, 195.168.0.2 back to 195.168.0.1, it tells me the host is unreachable despite 'ifconfig 195.168.0.1 and 2 up' on both computers - any ideas what I have done wrong here? Hmm, nope, that's an odd one, if I've understood your network correctly. When I have the lan - ethernet - network running I seem to be precluded from using the internet on this machine 195.168.0.1, and I can't see this machine Without knowing any detail I can tell you that this sort of problem usually relates to you configuring a 'default route' on your ethernet interface that overrides the default route that is normally pointing to the Internet via your PPP interface. You don't need, or want, a default route on your ethernet interface, so if you've got one, remove it. The default route might appear as a configuration item for a 'gateway'. The only default route you want is the one that pppd will provide with its 'defaultroute' option. If you look at the routing table on the this machine, you should see something like: guglielmo# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 220.233.1.45 0.0.0.0 255.255.255.255 UH0 00 ppp0 10.200.253.0 0.0.0.0 255.255.255.0 U 0 00 eth0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 00 ppp0 The last line, the route to '0.0.0.0' is the default route I'm talking about. You only want one of those. If you see another one configured when your ethernet interface is up, that'll be part of your problem. Your laptop machine should be configured something like this: iface eth0 inet static address 195.168.0.2 network 195.168.0.0 netmask 255.255.255.0 broadcast 195.168.0.255 gateway 195.168.0.1 and your 'accounts' machine should look similar, albeit with it's own IP address instead. If you want your laptop and windows machines to be able to share your Internet connection, then you'll need to configure what is sometimes called Network Address Translation, or IP-Masquerade on your 'this' machine. On my own machine here I use these commands: /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE /sbin/iptables -I FORWARD 1 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:1536 -j TCPMSS --clamp-mss-to-pmtu But it is possible that Mandrake includes some way of automating this, or even of configuring this transparently for you. regards Terry -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] SLUG: lan and ppp[0] clash
Nicholas Tomlin wrote: Sluggers, I've used Linux for some years now but I've struck an issue on which I need a quick fix to my ignorance on - I ask of your knowledge on the following: I have on this machine [195.168.0.1] Mandrake 10.1 on an AMD 64 bit Athlon 3k cpu with .5g ram and 2 80g HDD's and typically run kde 3.2.3 as my desk top. I have an 8 port 10/100 ethernet network switch which permits me to connect computers with each other, I have this machine, a Tosh A10 Satellite [195.168.0.2] and a dual boot mandrake / windoesn't box [195.168.0.3] which MYOB's my accounts [please tell me there is a linux replacement to MYOB]. network picture: domain tac.com.au [nameserver 223.225.0.3] [nameserver 223.225.0.6] | | dialup -- Modem [ppp0] 195.168.0.1 --blue cable--[switch] | | Laptop ethernet port-- 195.168.0.2 --blue cable--[switch] | | accounts -ethernet port-- 195.168.0.3 --blue cable--[switch] So far I am able to transfer files between the laptop and this machine, this is done where I share photos and the like between the laptop and this machine, for this I use gftp and log in to the user on the Toshiba and control the transfer from 195.168.0.1. ie, I start gftp from 195.0.168.0.1, then specify the connection to 195.168.0.2:21 user nick pswd x and push enter and I can see the contents of 195.168.0.2 from 195.0.168.0.1, and can freely transfer files both ways using 195.168.0.1. I would like to be able to do this from konqueror instead of gftp [despite its brilliance] because there are other [ugh] windows users who need to do the same thing though they do not grok any of this, gftp would be 'too hard' for them. How can this be done? How can it be done from [ugh] windoesn't? You can use konqueror or firefox to transfer files by running http (apache) and ftp server (vfstp) in your 195.168.0.2 (but this ip address is probably problematic see comments below). All machines have an ethernet connection available and I am using the blue cables, can ping each computer from 195.165.0.1, but cannot necessarily ping from, eg, 195.168.0.2 back to 195.168.0.1, it tells me the host is unreachable despite 'ifconfig 195.168.0.1 and 2 up' on both computers - any ideas what I have done wrong here? When I have the lan - ethernet - network running I seem to be precluded from using the internet on this machine 195.168.0.1, and I can't see this machine from 195.135.0.2, nor the internet connection via ppp0. I can have ppp0 I am puzzled by your use of 195.168.0.1, etc in your network. This network addresses belong to an organization in Europe. Are you certain you are the user of this network addresses ? You probably meant to use network addresses 192.168.0.1, etc. This probably explains why you cannot use the Internet, because when you send messages out to the internet, the reply messages are routed out to that organization in Europe and not returned to your network. 195.168.0.1, etc are public address block whilst 192.168.0.1, etc are private address block. Pls check RFC 1918. Also run this #whois 195.168.0.1 on a machine with working internet access and note the info. Or perhaps, you have an arrangement with that Organization to use that IP-address block ? If you have made an arrangement, you still have to ask your ISP provider to route that address block to your network. running and eth0 running but it will only see the eth0 interface. When I do 'ifconfig 195.168.0.1' down' and then try the internet connection again I can see the internet and can send / receive emails any ideas on what I've done wrong with this set up? screen captures of what to do would really help me with this.. Sometimes I run the laptop in windoesn't for the purpose of downloading pictures from my LG880U camera phone [no, it won't work in linux, no drivers, dammit]. Any ideas on how to get around this issue? It does have a bluetooth so I might be able to get a bt card and do it via that.. ideas please? Hope this helps. O Plameras -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] SLUG: lan and ppp[0] clash
On Mon, 2006-05-22 at 15:22 +1000, Nicholas Tomlin wrote: Sluggers, I've used Linux for some years now but I've struck an issue on which I need a quick fix to my ignorance on - I ask of your knowledge on the following: I have on this machine [195.168.0.1] Mandrake 10.1 on an AMD 64 bit Athlon 3k cpu with .5g ram and 2 80g HDD's and typically run kde 3.2.3 as my desk top. I have an 8 port 10/100 ethernet network switch which permits me to connect computers with each other, I have this machine, a Tosh A10 Satellite [195.168.0.2] and a dual boot mandrake / windoesn't box [195.168.0.3] which MYOB's my accounts [please tell me there is a linux replacement to MYOB]. network picture: domain tac.com.au [nameserver 223.225.0.3] [nameserver 223.225.0.6] | | dialup -- Modem [ppp0] 195.168.0.1 --blue cable--[switch] | | Laptop ethernet port-- 195.168.0.2 --blue cable--[switch] | | accounts -ethernet port-- 195.168.0.3 --blue cable--[switch] So far I am able to transfer files between the laptop and this machine, this is done where I share photos and the like between the laptop and this machine, for this I use gftp and log in to the user on the Toshiba and control the transfer from 195.168.0.1. ie, I start gftp from 195.0.168.0.1, then specify the connection to 195.168.0.2:21 user nick pswd x and push enter and I can see the contents of 195.168.0.2 from 195.0.168.0.1, and can freely transfer files both ways using 195.168.0.1. I would like to be able to do this from konqueror instead of gftp [despite its brilliance] because there are other [ugh] windows users who need to do the same thing though they do not grok any of this, gftp would be 'too hard' for them. How can this be done? How can it be done from [ugh] windoesn't? All machines have an ethernet connection available and I am using the blue cables, can ping each computer from 195.165.0.1, but cannot necessarily ping from, eg, 195.168.0.2 back to 195.168.0.1, it tells me the host is unreachable despite 'ifconfig 195.168.0.1 and 2 up' on both computers - any ideas what I have done wrong here? Some things to play around with. Are the nic lights blinking on 0.1 when pinging from 2? Run tcpdump on 0.1 to see if ping gets there ping might be getting to 0.1 but not making it back to 2/3? # iptables -L check if firewall is not up (policy ACCEPT) What are the results from 'netstat -rn' from all machines? 192.168.0.2 and 192.168.0.3 should point to gateway 192.168.0.1 To get across interfaces eth0 and ppp0 on 0.1 echo 1 /proc/sys/net/ipv4/ip_forward When I have the lan - ethernet - network running I seem to be precluded from using the internet on this machine 195.168.0.1, and I can't see this machine from 195.135.0.2, nor the internet connection via ppp0. I can have ppp0 running and eth0 running but it will only see the eth0 interface. When I do 'ifconfig 195.168.0.1' down' and then try the internet connection again I can see the internet and can send / receive emails any ideas on what I've done wrong with this set up? screen captures of what to do would really help me with this.. Sometimes I run the laptop in windoesn't for the purpose of downloading pictures from my LG880U camera phone [no, it won't work in linux, no drivers, dammit]. Any ideas on how to get around this issue? It does have a bluetooth so I might be able to get a bt card and do it via that.. ideas please? tia Nick Tomlin. www.alarmist.com.au We scare for you... -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html