[17:34] anyone here know how to setup a static ip on edubuntu server 10.4.1? please dont ask me any random or pointless questions, not trying to be rude, ive just encountered several idiots here and want a quick answer, not wasted time [17:36] Urm. Not the best intro, but ok, let's go through this [17:36] There are two ways, 1) with network manager and 2) with /etc/network/interfaces [17:36] Do you have any preference over those 2? [17:37] well ive been trying to use the /etc/network/interfaces file for a minute now but its asking for several variables im not familiar with [17:37] Dehs: can you use pastebin? [17:37] yeah gimme a sec [17:37] http://paste.ubuntu.com/ [17:37] Put there the following info: [17:37] cat /etc/network/interfaces [17:37] ifconfig -a [17:37] cat /etc/resolv.conf [17:38] http://paste.ubuntu.com/492250/ [17:39] put it in terminal? or pastebin? and sorry im kinda nubish lol [17:39] In the pastebin [17:40] You put the interfaces file, but paste the output of the other 2 commands too [17:40] (the interfaces file is wrong) [17:40] well yeah im missing info [17:40] but sec [17:41] here is the output of ifconfig -a [17:42] http://paste.ubuntu.com/492251/ [17:43] output of cat /etcv/resolv.conf [17:43] http://paste.ubuntu.com/492253/ [17:44] and im using dhcp as of right now so once you get me setup on the static and i restart i'll lose you for a moment :P [17:44] Dehs: you have 2 network cards, do you want a static ip on both of them or just on eth0? [17:44] Is that for ltsp? [17:44] static on just one [17:44] eth1 [17:45] OK, what IP do you want there? [17:45] 99.119.57.178 [17:45] Nope [17:45] That doesn't sound right [17:46] You currently have: eth0=99.119.57.178 and eth1=192.168.69.250 [17:46] its an isp assigned ip, one of 5 [17:46] So, do you want eth1 to take the ip of eth0? [17:46] is there a command to see which nic is in use? because im not sure exactly [17:48] it looks like eth0 is the active one apparently, but in the network manager, and my etc/network/interfaces file it lists eth1 o.O [17:48] eth1 is connected to the local network, eth0 to the internet [17:48] Can you describe your network setup? [17:48] I.e. where is eth0 connected and where is eth1 connected? [17:48] (switches, dhcp servers, routers etc) [17:49] dsl to netopia to switch to server [17:50] and the other nic? [17:51] same thing [17:51] They're both connected to the internet? [17:51] OK. Is netopia some kind of a router? [17:52] yes [17:52] Then, that router gets the external IP [17:52] (=99.119.57.178) [17:52] eth0 currently has the same IP, but it's useless [17:52] It doesn't have access to anything [17:52] actually netopia generates the ips [17:53] And, eth1 gets a local address from your router, and you access the internet from it [17:53] So, if I'm reading you correctly, you *don't* want a static ip, because netopia has it. [17:53] btw im just a tech here, im just relaying info from my boss in a wheelchair :P [17:54] no he wants the static ip, just on the one nic o.O sorry you both kinda have me lost [17:54] OK. I think it would break your internet connection, but sure, we can do that. [17:54] On which eth do you want it? [17:55] eth0 or eth1? [17:55] well how are we gonna do it without breaking the net first lol [17:56] oh i think i get you lol [17:57] If you're behind a router, you can't use a public IP [17:57] continue on [17:57] It doesn't make sense [17:57] But if you want to put a static IP, you can [17:57] You just won't have access to anywhere [17:57] E.g. do you know your public subnet mask? [17:58] 255.255.255.248 [17:58] OK. On which eth do you want that info? [17:58] On eth0 or on eth1? [17:58] eth1 [17:59] And, what's your gateway? [17:59] 99.119.57.something [17:59] 99.119.57.182 [18:00] Here's your interfaces, as you described it: http://paste.ubuntu.com/492263/ [18:00] Make backups etc because I doubt that that's valid info... :) [18:01] (for your current wiring) [18:01] I think that what you want to do is to setup your router to have a dmz server [18:01] i.e. for the router to have 2 IPs, and send whatever data it gets to the server [18:02] But the server won't have a public IP - the router will. [18:02] gimme a sec lemme try this :P [20:12] For anyone interested, I've packaged a chemistry app (http://www.chemcollective.org/applets/vlab.php) as a binary package here: http://ts.sch.gr/repo/pool/main/l/lyk-virtual-chemistry-lab/lyk-virtual-chemistry-lab_1.6.4-1_all.deb