Guus_ | Hello folks, | 18:48 |
---|---|---|
Guus_ | i was wondering, is there any chance that OpenTeacher will be included in the next edubuntu? | 18:48 |
Guus_ | it fits right in. | 18:48 |
highvoltage | hi Guus_ | 18:56 |
highvoltage | Arvind Raj did packaging for it, but it needs some changes to make it into the archive | 18:56 |
highvoltage | the deadline is basically on August 11, I'm going to try to get it in to the archives before then even if it's not in 100% perfect state, and then we could have it included in Edubuntu | 18:57 |
Guus_ | ah cool, thanks for the effort | 18:58 |
=== EyesIsMine is now known as Eyes|Sleeping | ||
Damianos | Need some help troubleshooting a network problem. I have an ltsp server with a wireless NIC and an ethernet NIC. The ethernet is faceing the private LAN and boots thin clients fine. Unfortunately, when the ethernet is plugged in I can't get any internet on the server or the clients. Furthermore, with ethernet disconnected, I can connect to my router but not to the internet | 21:27 |
alkisg | Damianos: yesterday I answered you, today Hyperbyte did | 21:28 |
alkisg | You just ignore us... :( | 21:28 |
Damianos | no sir! I had to try and do IRC on my phone and it keeps kicking me out of the room | 21:28 |
alkisg | Please read the irc logs, and see our answers there | 21:28 |
Damianos | ok, how do I check the logs? | 21:28 |
alkisg | irclogs.ubuntu.org, irclogs.ltsp.org | 21:28 |
Damianos | thank you so much and I am so sorry about the last few attempts | 21:29 |
Damianos | there is no record of anything said by you, hyberbyte or myself on the ltsp.org logs. The ubuntu.org logs have a "Global day of mobilisation" banner | 21:32 |
alkisg | ubuntu.com, sorry | 21:35 |
Damianos | ah, ok | 21:35 |
alkisg | ubuntu.com is for edubuntu, while I think with hyperbyte you talked (or tried to) in #ltsp so it's in irclogs.ltsp.org | 21:35 |
alkisg | Damianos: anyway, let's start over | 21:37 |
Damianos | ok | 21:37 |
alkisg | First, can you paste the output of `ip addr show` ? | 21:37 |
alkisg | In pastebin, e.g. paste.ubuntu.com | 21:37 |
Damianos | ok | 21:37 |
Hyperbyte | At least this time he didn't ignore us. | 21:39 |
Hyperbyte | Hahahaha | 21:39 |
alkisg | Hehe | 21:39 |
alkisg | He probably has set a gateway for the wired nic, and they're both on the same subnet | 21:40 |
Hyperbyte | Hence me asking him to pastebin ip route show | 21:41 |
Hyperbyte | :) | 21:41 |
Hyperbyte | Ah | 21:41 |
Damianos | http://paste.ubuntu.com/655327/ | 21:41 |
Damianos | sorry, whenever the ethernet is connected nothing on my network can connect to the internet | 21:41 |
alkisg | OK | 21:41 |
alkisg | How does your wired nic get its IP? | 21:41 |
alkisg | From network manager, or from /etc/network/interfaces? | 21:41 |
Damianos | I'm not sure | 21:42 |
alkisg | cat /etc/network/interfacs | 21:42 |
alkisg | es | 21:42 |
alkisg | If you see IPs there, that's the one | 21:42 |
alkisg | If so, please put that too to pastebin | 21:42 |
Damianos | http://paste.ubuntu.com/655329/ | 21:43 |
alkisg | Hmmm can you also pastebin what Hyperbyte told you? ip route show | 21:44 |
Damianos | one sec...I'll plug the ethernet in so I replicate the problem and then do it | 21:45 |
Hyperbyte | Wait | 21:45 |
alkisg | ok | 21:45 |
Hyperbyte | Do both | 21:45 |
Damianos | ok | 21:45 |
Hyperbyte | ip route show in both conditions | 21:45 |
Hyperbyte | This is the point where we can talk again behind his back for a little while. ;-> | 21:47 |
alkisg | Haha | 21:48 |
alkisg | And we've verified he won't see the logs :P | 21:48 |
Damianos | http://paste.ubuntu.com/655331/ | 21:48 |
Hyperbyte | Different default gateway | 21:48 |
Damianos | is that what the first address represents? | 21:49 |
Hyperbyte | When you enable the local network, Ubuntu sets that as default route | 21:49 |
Hyperbyte | No | 21:49 |
Hyperbyte | 'default via IP' | 21:49 |
Damianos | ok | 21:49 |
alkisg | It's weird though, because he doesn't have a route in his /etc/network/interfaces. | 21:49 |
Hyperbyte | What does the 'auto eth0' mean? | 21:50 |
Hyperbyte | No actually | 21:50 |
alkisg | "bring that interface up on boot, according to what's written below" | 21:50 |
Hyperbyte | I think the problem is that he -needs- to define a route | 21:50 |
Hyperbyte | By default, any interface that comes up last, is default route | 21:51 |
alkisg | Why? If an interface doesn't have a route, why would it be the default route? | 21:51 |
Hyperbyte | alkisg, there needs to be a default route. | 21:51 |
alkisg | Per interface? | 21:51 |
Hyperbyte | No, one global default route. | 21:51 |
alkisg | OK, so why would it be wrong to not have one for eth0? | 21:52 |
Hyperbyte | The dhcp interface should take precedence though I think. | 21:52 |
Hyperbyte | No, I meant he needs to have one for wlan0 | 21:52 |
alkisg | I think I've tried that several times, and it worked fine. | 21:52 |
alkisg | That's given by dhcp | 21:52 |
alkisg | For wlan1 | 21:52 |
alkisg | Damianos: which ubuntu version is that? | 21:52 |
Damianos | 10.0.4 but I originally installed 9.10 and then upgraded | 21:53 |
Hyperbyte | alkisg, could we be looking at a configuration file that isn't used, because NetworkManager is active anyways? | 21:53 |
alkisg | When network manager sees an interface declaration in /etc/network/interfaces, it ignores it, and in the UI it says "not managed" | 21:54 |
Hyperbyte | Okay | 21:54 |
alkisg | So /me hasn't yet thought of how eth0 gets that route... | 21:55 |
Hyperbyte | For starters, you could try removing the 'network' and 'broadcast' lines from there. They shouldn't be needed. | 21:55 |
Hyperbyte | Don't think that'll help much, but at least it's something. | 21:55 |
alkisg | Right... and maybe if you defined gateway 0.0.0.0, it would solve your problem, but without realizing what caused it | 21:55 |
Hyperbyte | Damianos, also, wild guess here, try putting the wlan1 interface below the eth0 interface in the configuration. | 21:56 |
Damianos | ok | 21:57 |
Damianos | brb | 21:57 |
* alkisg has started advicing teachers here to use network manager instead of /etc/network/interfaces | 21:57 | |
alkisg | It usually gives them less trouble | 21:57 |
Damianos | here goes...if you see me leave the room it's a bust | 21:58 |
alkisg | Hmm... Damianos, one reason why you might got a gateway with that /etc/network/interfaces, is if you manually tried "dhclient eth0". Did you? | 22:01 |
Hyperbyte | eth0 != dhcp | 22:01 |
alkisg | If he manually requested it, why not? | 22:02 |
Damianos | I don't remember | 22:02 |
Damianos | I don't think so...I messed with a previous installation on this machine but then did a clean install | 22:02 |
Hyperbyte | What's even weirder | 22:02 |
Hyperbyte | Is that it leaves the dhcp fail range (169.254.0.0/16) to wlan1 but sets default to eth0 | 22:02 |
Damianos | what is the significance of the "auto" before the interface name? | 22:03 |
Hyperbyte | 23:50 <alkisg> "bring that interface up on boot, according to what's written | 22:03 |
Hyperbyte | below" | 22:03 |
alkisg | (12:50:24 πμ) Hyperbyte: What does the 'auto eth0' mean? | 22:03 |
alkisg | (12:50:49 πμ) alkisg: "bring that interface up on boot, according to what's written below" | 22:03 |
Hyperbyte | Hehe | 22:03 |
alkisg | Haha | 22:03 |
Hyperbyte | Did you remove the 'network' and 'broadcast' lines? | 22:03 |
Damianos | I'll do that right now | 22:03 |
alkisg | Anyway /me needs to go, battery low and no wifi on room | 22:04 |
Hyperbyte | Enjoy your vacation! | 22:04 |
Damianos | thanks again alkisg | 22:04 |
alkisg | Carry on, and good luck :) | 22:04 |
Damianos | I commented out the network and broadcast lines from the eth0 | 22:04 |
Damianos | here goes | 22:04 |
Damianos | what if I gave myself a static IP on wlan1? | 22:06 |
Damianos | would that force it to look at the correct gateway? | 22:06 |
Hyperbyte | Probably helps. | 22:06 |
Hyperbyte | Well no, but then we can configure a static gateway | 22:06 |
Hyperbyte | To configure wlan1 as default gateway, add the line | 22:07 |
Hyperbyte | up route add default gw 192.168.2.1 | 22:07 |
Hyperbyte | That might even work when it's still dhcp... I'm just curious if eth0 is gonna override even that | 22:08 |
Hyperbyte | Actually, I think you could even just specify 'gateway 192.168.2.1' under wlan1 | 22:11 |
Hyperbyte | Sorry, I'm a bit unfamiliar with Ubuntu network config | 22:11 |
Damianos | should I just type it in etc/network/interfaces ? | 22:11 |
Hyperbyte | How are you exactly bringing up/down eth2? | 22:12 |
Hyperbyte | Erm, wlan1? | 22:12 |
Damianos | what do you mean by bringing up/down? | 22:12 |
Hyperbyte | You say you enable wlan1 and then it goes wrong | 22:13 |
Hyperbyte | What do you type/do to enable wlan1? | 22:13 |
Damianos | oh...when I plug in my ethernet cable | 22:14 |
Hyperbyte | Okay | 22:14 |
Hyperbyte | We're gonna do this the proper way from now on | 22:14 |
Hyperbyte | You don't disconnect your ethernet cable | 22:14 |
Hyperbyte | You use 'ifdown eth0' 'ifup eth0' | 22:14 |
Hyperbyte | Also | 22:14 |
Hyperbyte | Your /etc/network/interfaces | 22:15 |
Hyperbyte | Should contain: | 22:15 |
Hyperbyte | http://razor.middelkoop.cc/~dj/damianos.txt | 22:15 |
Hyperbyte | That | 22:15 |
Hyperbyte | And after that's done, you plug it all cables, make everything the way it's supposed to be | 22:16 |
Hyperbyte | And then run | 22:16 |
Hyperbyte | sudo /etc/init.d/networking restart | 22:16 |
Damianos | ok | 22:16 |
Hyperbyte | Any luck? | 22:20 |
Damianos | well, internet is now working....thin client is not booting...should I restart dhcp? | 22:21 |
Hyperbyte | Your network works like this, with everything connected/plugged in? | 22:22 |
Damianos | hold on...there was a warning | 22:22 |
Damianos | "WARNING: ifup -a is disabled in favour of NetworkManager. | 22:22 |
Damianos | Set ifupdown:managed=false in /etc/NetworkManager/nm-system-settings.conf. | 22:22 |
Damianos | ...done. | 22:22 |
Damianos | " | 22:22 |
Hyperbyte | That's probably due to me not understanding Ubuntu network enough | 22:22 |
Hyperbyte | If it still works after a reboot I wouldn't worry about it. :) | 22:23 |
Damianos | I'm going to try and restart dhcp | 22:23 |
Hyperbyte | If you type 'ifconfig', do you see both interfaces there, with the correct IP's? | 22:23 |
Damianos | eth0 is not listed | 22:24 |
Hyperbyte | Type | 22:24 |
Hyperbyte | ifup eth0 | 22:24 |
Hyperbyte | Haha | 22:24 |
Hyperbyte | Wtf... | 22:24 |
Damianos | ethernet plugged in = thin client working internet not working | 22:28 |
Hyperbyte | Okay | 22:29 |
Hyperbyte | Get rid of /etc/network/interfaces | 22:29 |
Hyperbyte | And do it like this: https://help.ubuntu.com/community/NetworkManager0.7 | 22:29 |
Damianos | it's funny...earlier I tried to pull up NetworkManager via ssh and it said it was already running | 22:30 |
Hyperbyte | According to Alkis NetworkManager is gonna solve all your problems | 22:32 |
Hyperbyte | Just make sure you get rid of the old config | 22:32 |
Hyperbyte | As in, /etc/network/interfaces | 22:33 |
Damianos | ok | 22:33 |
Damianos | well, I looked in NM-applet and it's not seeing eth0 | 22:50 |
Damianos | the cable is plugged in but no mention of anything ethernet | 22:51 |
Damianos | actually correction: in Network Connections there is mention of ifupdown (eth0) but I don't know if that is what I should be setting up | 22:53 |
Damianos | ok...after rebooting auto eth0 now shows up in NM | 23:12 |
Damianos | I have to go pick up my wife from school so I'll be back in 45...thanks again for taking the time | 23:12 |
Damianos | you guys are awesome | 23:12 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!