/srv/irclogs.ubuntu.com/2011/07/30/#edubuntu.txt

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
highvoltagehi Guus_18:56
highvoltageArvind Raj did packaging for it, but it needs some changes to make it into the archive18:56
highvoltagethe 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 Edubuntu18:57
Guus_ah cool, thanks for the effort18:58
=== EyesIsMine is now known as Eyes|Sleeping
DamianosNeed 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 internet21:27
alkisgDamianos: yesterday I answered you, today Hyperbyte did21:28
alkisgYou just ignore us... :(21:28
Damianosno sir!  I had to try and do IRC on my phone and it keeps kicking me out of the room21:28
alkisgPlease read the irc logs, and see our answers there21:28
Damianosok, how do I check the logs?21:28
alkisgirclogs.ubuntu.org, irclogs.ltsp.org21:28
Damianosthank you so much and I am so sorry about the last few attempts21:29
Damianosthere 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" banner21:32
alkisgubuntu.com, sorry21:35
Damianosah, ok21:35
alkisgubuntu.com is for edubuntu, while I think with hyperbyte you talked (or tried to) in #ltsp so it's in irclogs.ltsp.org21:35
alkisgDamianos: anyway, let's start over21:37
Damianosok21:37
alkisgFirst, can you paste the output of `ip addr show` ?21:37
alkisgIn pastebin, e.g. paste.ubuntu.com21:37
Damianosok21:37
HyperbyteAt least this time he didn't ignore us.21:39
HyperbyteHahahaha21:39
alkisgHehe21:39
alkisgHe probably has set a gateway for the wired nic, and they're both on the same subnet21:40
HyperbyteHence me asking him to pastebin   ip route show21:41
Hyperbyte:)21:41
HyperbyteAh21:41
Damianoshttp://paste.ubuntu.com/655327/21:41
Damianossorry, whenever the ethernet is connected nothing on my network can connect to the internet21:41
alkisgOK21:41
alkisgHow does your wired nic get its IP?21:41
alkisgFrom network manager, or from /etc/network/interfaces?21:41
DamianosI'm not sure21:42
alkisgcat /etc/network/interfacs21:42
alkisges21:42
alkisgIf you see IPs there, that's the one21:42
alkisgIf so, please put that too to pastebin21:42
Damianoshttp://paste.ubuntu.com/655329/21:43
alkisgHmmm can you also pastebin what Hyperbyte told you?  ip route show21:44
Damianosone sec...I'll plug the ethernet in so I replicate the problem and then do it21:45
HyperbyteWait21:45
alkisgok21:45
HyperbyteDo both21:45
Damianosok21:45
Hyperbyteip route show   in both conditions21:45
HyperbyteThis is the point where we can talk again behind his back for a little while. ;->21:47
alkisgHaha21:48
alkisgAnd we've verified he won't see the logs :P21:48
Damianoshttp://paste.ubuntu.com/655331/21:48
HyperbyteDifferent default gateway21:48
Damianosis that what the first address represents?21:49
HyperbyteWhen you enable the local network, Ubuntu sets that as default route21:49
HyperbyteNo21:49
Hyperbyte'default via IP'21:49
Damianosok21:49
alkisgIt's weird though, because he doesn't have a route in his /etc/network/interfaces.21:49
HyperbyteWhat does the 'auto eth0' mean?21:50
HyperbyteNo actually21:50
alkisg"bring that interface up on boot, according to what's written below"21:50
HyperbyteI think the problem is that he -needs- to define a route21:50
HyperbyteBy default, any interface that comes up last, is default route21:51
alkisgWhy? If an interface doesn't have a route, why would it be the default route?21:51
Hyperbytealkisg, there needs to be a default route.21:51
alkisgPer interface?21:51
HyperbyteNo, one global default route.21:51
alkisgOK, so why would it be wrong to not have one for eth0?21:52
HyperbyteThe dhcp interface should take precedence though I think.21:52
HyperbyteNo, I meant he needs to have one for wlan021:52
alkisgI think I've tried that several times, and it worked fine.21:52
alkisgThat's given by dhcp21:52
alkisgFor wlan121:52
alkisgDamianos: which ubuntu version is that?21:52
Damianos10.0.4 but I originally installed 9.10 and then upgraded21:53
Hyperbytealkisg, could we be looking at a configuration file that isn't used, because NetworkManager is active anyways?21:53
alkisgWhen network manager sees an interface declaration in /etc/network/interfaces, it ignores it, and in the UI it says "not managed"21:54
HyperbyteOkay21:54
alkisgSo /me hasn't yet thought of how eth0 gets that route...21:55
HyperbyteFor starters, you could try removing the 'network' and 'broadcast' lines from there.  They shouldn't be needed.21:55
HyperbyteDon't think that'll help much, but at least it's something.21:55
alkisgRight... and maybe if you defined gateway 0.0.0.0, it would solve your problem, but without realizing what caused it21:55
HyperbyteDamianos, also, wild guess here, try putting the wlan1 interface below the eth0 interface in the configuration.21:56
Damianosok21:57
Damianosbrb21:57
* alkisg has started advicing teachers here to use network manager instead of /etc/network/interfaces21:57
alkisgIt usually gives them less trouble21:57
Damianoshere goes...if you see me leave the room it's a bust21:58
alkisgHmm... 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
Hyperbyteeth0 != dhcp22:01
alkisgIf he manually requested it, why not?22:02
DamianosI don't remember22:02
DamianosI don't think so...I messed with a previous installation on this machine but then did a clean install22:02
HyperbyteWhat's even weirder22:02
HyperbyteIs that it leaves the dhcp fail range (169.254.0.0/16) to wlan1 but sets default to eth022:02
Damianoswhat is the significance of the "auto" before the interface name?22:03
Hyperbyte23:50 <alkisg> "bring that interface up on boot, according to what's written22: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
HyperbyteHehe22:03
alkisgHaha22:03
HyperbyteDid you remove the 'network' and 'broadcast' lines?22:03
DamianosI'll do that right now22:03
alkisgAnyway /me needs to go, battery low and no wifi on room22:04
HyperbyteEnjoy your vacation!22:04
Damianosthanks again alkisg22:04
alkisgCarry on, and good luck :)22:04
DamianosI commented out the network and broadcast lines from the eth022:04
Damianoshere goes22:04
Damianoswhat if I gave myself a static IP on wlan1?22:06
Damianoswould that force it to look at the correct gateway?22:06
HyperbyteProbably helps.22:06
HyperbyteWell no, but then we can configure a static gateway22:06
HyperbyteTo configure wlan1 as default gateway, add the line22:07
Hyperbyteup route add default gw 192.168.2.122:07
HyperbyteThat might even work when it's still dhcp... I'm just curious if eth0 is gonna override even that22:08
HyperbyteActually, I think you could even just specify 'gateway 192.168.2.1' under wlan122:11
HyperbyteSorry, I'm a bit unfamiliar with Ubuntu network config22:11
Damianosshould I just type it in etc/network/interfaces ?22:11
HyperbyteHow are you exactly bringing up/down eth2?22:12
HyperbyteErm, wlan1?22:12
Damianoswhat do you mean by bringing up/down?22:12
HyperbyteYou say you enable wlan1 and then it goes wrong22:13
HyperbyteWhat do you type/do to enable wlan1?22:13
Damianosoh...when I plug in my ethernet cable22:14
HyperbyteOkay22:14
HyperbyteWe're gonna do this the proper way from now on22:14
HyperbyteYou don't disconnect your ethernet cable22:14
HyperbyteYou use 'ifdown eth0' 'ifup eth0'22:14
HyperbyteAlso22:14
HyperbyteYour /etc/network/interfaces22:15
HyperbyteShould contain:22:15
Hyperbytehttp://razor.middelkoop.cc/~dj/damianos.txt22:15
HyperbyteThat22:15
HyperbyteAnd after that's done, you plug it all cables, make everything the way it's supposed to be22:16
HyperbyteAnd then run22:16
Hyperbytesudo /etc/init.d/networking restart22:16
Damianosok22:16
HyperbyteAny luck?22:20
Damianoswell, internet is now working....thin client is not booting...should I restart dhcp?22:21
HyperbyteYour network works like this, with everything connected/plugged in?22:22
Damianoshold on...there was a warning22: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
HyperbyteThat's probably due to me not understanding Ubuntu network enough22:22
HyperbyteIf it still works after a reboot I wouldn't worry about it. :)22:23
DamianosI'm going to try and restart dhcp22:23
HyperbyteIf you type 'ifconfig', do you see both interfaces there, with the correct IP's?22:23
Damianoseth0 is not listed22:24
HyperbyteType22:24
Hyperbyteifup eth022:24
HyperbyteHaha22:24
HyperbyteWtf...22:24
Damianosethernet plugged in  = thin client working internet not working22:28
HyperbyteOkay22:29
HyperbyteGet rid of /etc/network/interfaces22:29
HyperbyteAnd do it like this:  https://help.ubuntu.com/community/NetworkManager0.722:29
Damianosit's funny...earlier I tried to pull up NetworkManager via ssh and it said it was already running22:30
HyperbyteAccording to Alkis NetworkManager is gonna solve all your problems22:32
HyperbyteJust make sure you get rid of the old config22:32
HyperbyteAs in, /etc/network/interfaces22:33
Damianosok22:33
Damianoswell, I looked in NM-applet and it's not seeing eth022:50
Damianosthe cable is plugged in but no mention of anything ethernet22:51
Damianosactually correction: in Network Connections there is mention of ifupdown (eth0) but I don't know if that is what I should be setting up22:53
Damianosok...after rebooting auto eth0 now shows up in NM23:12
DamianosI have to go pick up my wife from school so I'll be back in 45...thanks again for taking the time23:12
Damianosyou guys are awesome23:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!