[05:23] <Burgundavia> shawarma: you still around?
[08:18] <froud> is there an option I can use in dhcp.conf to configure clients with the proxy settings?
[08:21] <Burgundavia> I have no idea
[08:21] <Burgundavia> hey froud
[08:22] <froud> Burgundavia: hey dude
[08:22] <froud> ;-) good to see you
[08:27] <froud> Surely there must be a simpler method that WPAD
[08:27] <froud> s/that/than
[08:31] <shawarma> Burgundavia: At 5:23 AM, I tend to be asleep. :)
[08:31] <Burgundavia> shawarma: right, good morning then
[08:32] <Burgundavia> had a good chat with somebody about mass config, ebox, etc.
[08:32] <shawarma> Burgundavia: Yes, good morning.
[08:32] <Burgundavia> does ebox do multiple machine config yet?
[08:32] <shawarma> Burgundavia: Yup, got an e-mail from him.
[08:32] <shawarma> Burgundavia: No, it doesn't. Yet. It's planned, but not milestoned.
[08:32] <Burgundavia> ok, just wondering
[08:37] <Burgundavia> what else are you working on?
[08:46] <shawarma> Right now, i'm trying to get iptables to compile again.
[08:47] <Burgundavia> ahh
[08:47] <Burgundavia> hey ivoks
[09:02] <ivoks> hi
[09:02] <ivoks> and bye :)
[09:02] <ivoks> bbl
[12:49] <[miles] > morning guys
[12:49] <[miles] > anyone know where I can limit the number of terminals that are created on boot please?
[12:50] <Kamping_Kaiser> inittab probably
[12:50] <fabbione> [miles] : what release?
[12:51] <[miles] > 6.06lts
[12:51] <fabbione> inittab
[12:51] <shawarma> [miles] : Yes, then inittab is right.
[12:52] <shawarma> [miles] : For edgy and onwards it would be /etc/event.d/tty*
[12:52] <[miles] > thanks guys :)
[12:52] <shawarma> [miles] : np
[12:54] <Kamping_Kaiser> shawarma, hm. i'll have to try and remember that
[12:55] <[miles] > damn, I bought $20 of gizmo credit yesterday, confirmed by PP.... but it has not been credited to the gizmo account
[12:55] <[miles] > fub
[12:55] <shawarma> gizmo?
[12:55] <[miles] > nod
[12:55] <[miles] > www.gizmoproject.com
[12:56] <[miles] > like Skype, it's client software is pretty shite...
[12:56] <[miles] > OpenWengo has the best client
[12:56] <[miles] > but.. it does not support my USB Phone
[12:58] <shawarma> Go figure. Never heard of it.
[12:59] <Kamping_Kaiser> dont remember, wengo or gizmo stored the user password in plaintext in gconf. i forget wheich though
[05:10] <levander> I've got two links in /etc/apache2/sites-enabled named default and 000-default whose targets is /etc/apache2/sites-available/default.  Is that normal?  
[05:15] <levander> I'm thinking I should remove one.  What's the standard convention in Ubuntu, to have the link in /etc/apache2/sites-enabled be named default or 000-default?
[05:19] <levander> I just looked in my svk repository of /etc.  000-default was added during the Feisty upgrade.  default has always been there.
[05:26] <shawarma> levander: It should be the 000-one.
[05:27] <shawarma> levander: apache uses the first configured virtualhost as the default, so we prepend 000 to be (almost) sure that it'll be included as the first one.
[05:34] <levander> shawarma: cool thanks
[05:35] <levander> should i file a bug saying the upgrade process doesn't delete the old /etc/apache2/sites-enabled/default file doesn't get deleted?
[05:36] <levander> It just that since feisty has already been frozen, I dunno if official policies would even let anybody fix that bug.
[05:37] <shawarma> Seeing as including it twice doesn't have any effect at all, I wouldn't bother.
[05:38] <shawarma> It's safer to leave it around that to try to take all the variablees into account.
[05:38] <shawarma> Um.. It's safer to leave it around *than* to try to take all the variablees into account.
[05:41] <levander> With sites-available/default linked to twice, that "NamedVirtualHost *" directive in included twice in the Apache config, and you get some warning during restart about "* not having any Virtual Hosts in it"
[05:42] <levander> That's the only thing.  I had to google for an hour or so to find out what the problem was.  Finally figured out that it was because of having NameVirtualHost twice, and that it was in there twice because of the two links.
[08:07] <KennyTheGeek> shawarma: any spare time? :P i got 2 nics now, and a cable...
[08:08] <KennyTheGeek> the problem is... i can't get it to assign me an adress from it, so i couldnt check if the other part worked :P
[08:08] <KennyTheGeek> and if i got no IP, i have no chance of doing ANYTHING
[08:13] <ivoks> ?
[08:13] <KennyTheGeek> Trying to make my server replace my router.
[08:14] <KennyTheGeek> my router is locked by my isp, and theres no longer any web interface for it.
[08:14] <ivoks> eh :/
[08:14] <KennyTheGeek> and guess what? theres only 6 open, but filtered ports
[08:14] <KennyTheGeek> so i can't get my server online, outside my network
[08:15] <KennyTheGeek> so my idea: why not let my server replace it? it should be able to run a dhcp server, and funtion as a roui
[08:15] <KennyTheGeek> *router
[08:15] <ivoks> you think ports are blocked on router?
[08:15] <KennyTheGeek> i KNOW ports a blocked :P
[08:16] <KennyTheGeek> did a port scan
[08:16] <ivoks> but... on router at your home?
[08:16] <KennyTheGeek> yeah
[08:16] <ivoks> they could be blocked at ISP (this is what my ISP does)
[08:16] <KennyTheGeek> i got it with my internet connection from my ISP
[08:16] <KennyTheGeek> mine doesn't
[08:16] <KennyTheGeek> my ISP allows any sort of communication on any ports
[08:17] <ivoks> you have to find out IP address of router and it's routing table
[08:17] <shawarma> ivoks: They're blocked in the router.
[08:17] <shawarma> ivoks: I've dealt with this particular ISP before.
[08:17] <ivoks> ok :)
[08:17] <KennyTheGeek> ivoks: i know the IP, and they locked the routers interface with a serial interface on the back
[08:17] <shawarma> KennyTheGeek: I don't have time to help you, I'm afraid.
[08:17] <KennyTheGeek> shawarma: okay then...
[08:17] <shawarma> KennyTheGeek: Someone else might
[08:18] <ivoks> KennyTheGeek: use traceroute to find out gateway's IP of your gateway :)
[08:18] <KennyTheGeek> yeah... but then again. this channel is... a lazy channel
[08:18] <ivoks> hm
[08:18] <ivoks> this channel isn't solution provider :)
[08:19] <ivoks> and your questions aren't about ubuntu-server, but about fooling with your ISP :)
[08:20] <KennyTheGeek> no, the question is about how i make my Ubuntu driven server replace my router. i got dhcp3-server installed, and webmin to configure it, but it just won't work
[08:20] <ivoks> do you know how it should work?
[08:21] <KennyTheGeek> yes
[08:21] <ivoks> you can't just replace one box with another
[08:21] <ivoks> and expect it to work, magicaly :)
[08:21] <ivoks> so, how is your server connected to ISP? over modem?
[08:22] <KennyTheGeek> i've configured the dhcp3-server and firewall
[08:22] <KennyTheGeek> yes
[08:22] <KennyTheGeek> ADSL modem
[08:22] <ivoks> forget about dhcp server and firewall
[08:22] <KennyTheGeek> and no, i expect nothing to work "magically"
[08:22] <ivoks> you have to establish connection to yout ISP first
[08:22] <KennyTheGeek> no, i need to get an IP, and get connection to my server again as fast as possible, as it is only controlled with SSH and web interfaces. no screens or keyboards
[08:23] <ivoks> ok
[08:23] <ivoks> then you need ssh and dhcp3-server
[08:23] <ivoks> you installed that?
[08:24] <KennyTheGeek> yes, i got ssh, that's my main means of controlling the server
[08:24] <KennyTheGeek> and yes, dhcp3-server is installed, but not happy >_>
[08:24] <ivoks> then you've misconfigured it :)
[08:24] <KennyTheGeek> i've followed a guide
[08:24] <ivoks> which one?
[08:25] <KennyTheGeek> eh...
[08:25] <KennyTheGeek> moment...
[08:25] <KennyTheGeek> http://ubuntulinuxhowto.blogspot.com/2006/06/setup-your-computer-to-be-router.html
[08:25] <KennyTheGeek> that should have made the magical stuff, and making it work :P
[08:25] <ivoks> omg, webmin
[08:26] <KennyTheGeek> yeah...
[08:26] <KennyTheGeek> whats wrong with webmin?
[08:26] <ivoks> it's no wonder it doesn't work :)
[08:26] <KennyTheGeek> okay...
[08:26] <ivoks> ssh to your server
[08:26] <KennyTheGeek> already done :P
[08:26] <ivoks> and forget about webmin and 'magic' stuff
[08:27] <KennyTheGeek> i forgot about magic when i tried Windows 3.11 for the first time >_>
[08:27] <ivoks> you have two network cards?
[08:27] <KennyTheGeek> yes
[08:27] <KennyTheGeek> 1 to the current router, and 1 not connected atm
[08:27] <ivoks> local network is connected to which one?
[08:27] <KennyTheGeek> eth0 (onboard)
[08:28] <ivoks> ok, open /etc/default/dhcp3-server with your favourite editor (vim)
[08:28] <KennyTheGeek> nano :P
[08:28] <ivoks> pih...
[08:28] <ivoks> lazy people :D
[08:28] <ivoks> there's INTERFACES
[08:28] <KennyTheGeek> INTERFACES=eth0
[08:28] <ivoks> add eth0 to it
[08:28] <ivoks> INTERFACES="eth0"
[08:28] <KennyTheGeek> its already there
[08:29] <ivoks> with "?
[08:29] <KennyTheGeek> ?
[08:29] <KennyTheGeek> no
[08:29] <KennyTheGeek> just eth0
[08:29] <ivoks> add " before and after eth0
[08:29] <KennyTheGeek> lazy webmin >_>
[08:30] <ivoks> just to be sure...
[08:30] <KennyTheGeek> already done
[08:30] <KennyTheGeek> whats next?
[08:30] <ivoks> try restarting your dhcp
[08:31] <ivoks>  /etc/init.d/dhcp3-server restart
[08:31] <ivoks> does it start?
[08:31] <KennyTheGeek> yes
[08:32] <KennyTheGeek> also did before, just didn't work
[08:32] <KennyTheGeek> when i connected my laptop to eth0, and requested an ip through DHCP, i didn't get one
[08:33] <ivoks> open /var/log/syslog (less /var/log/syslog)
[08:33] <ivoks> and go to the end (shift g)
[08:34] <KennyTheGeek> Wrote 2 leases to file
[08:34] <KennyTheGeek> all rights reserved
[08:34] <ivoks> great, then it works :)
[08:34] <KennyTheGeek> For info go to, nothing of interest
[08:35] <KennyTheGeek> before it said "Sending on "LPF/eth0/a-long-mac-adress/24"
[08:35] <KennyTheGeek> and Listening on the same one
[08:35] <KennyTheGeek> nothing about that now
[08:36] <ivoks> quit that (q)
[08:37] <ivoks> and do tail -f /var/log/syslog
[08:37] <ivoks> on other linux computer, start dhclient eth0:1 or eth1:1
[08:37] <ivoks> whatever you have
[08:38] <KennyTheGeek> it started twice, so 2 sets of copyright lines, "for info" lines, and one "Wrote 2 leases to file"
[08:38] <KennyTheGeek> dhclient?
[08:38] <ivoks> that's what i said, yes
[08:38] <KennyTheGeek> dhclient eth0:1 << send dhcprequest?
[08:39] <ivoks> did your server get dhcp request?
[08:39] <KennyTheGeek> the problem is, im on the 1st floor, the router is in the basement
[08:39] <KennyTheGeek> *server
[08:39] <KennyTheGeek> not router...
[08:39] <KennyTheGeek> ill have to walk down again >_>
[08:39] <ivoks> you are connected to your server, right?
[08:40] <ivoks> you're connected with windows or linux or osx?
[08:40] <KennyTheGeek> wireless >> wifi router >> router >> server && internet
[08:40] <KennyTheGeek> Linux on my computers, windows on my sisters/parents
[08:40] <ivoks> ok, wifi interface is eth1?
[08:41] <ivoks> run iwconfig on your local computer, not server
[08:42] <KennyTheGeek> ...
[08:42] <ivoks> what?
[08:42] <ivoks> you don't understand me?
[08:43] <KennyTheGeek> i do
[08:43] <ivoks> so, can you start dhcp request on your computer or some other computer?
[08:43] <KennyTheGeek> but im not directly connected, and currently, the server is connected to a port on the router i want to replace
[08:43] <KennyTheGeek> in a moment
[08:44] <KennyTheGeek> ill have to walk down, and cable connect
[08:44] <ivoks> why?
[08:44] <ivoks> just open your sister's computer and choose your wifi connection, with dynamic IP
[08:44] <ivoks> anyway...
[08:45] <KennyTheGeek> that would get it from our WIFI router
[08:45] <ivoks> your dhcp server on your server is working
[08:45] <KennyTheGeek> not from the router i want to replace (non wifi)
[08:45] <ivoks> your problem is that you have wifi router which blocks your's server dhcp
[08:45] <KennyTheGeek> ill be able to check in a moment
[08:45] <KennyTheGeek> no
[08:46] <KennyTheGeek> its not my wifi router >_>
[08:46] <ivoks> yes it is, if it's also serving DHCP service
[08:46] <KennyTheGeek> My laptop is connected to a wifi router, which is connected to my other (stupid router) which got internet. the server is also connected to this router
[08:47] <ivoks> your router is just a switch for local network
[08:47] <KennyTheGeek> no
[08:47] <ivoks> yes, it is...
[08:47] <ivoks> it's gateway for internet
[08:47] <KennyTheGeek> my WiFi ips are 10.60.61.100-199 and the subnet is 255.0.0.0
[08:47] <ivoks> but that's not important now... for local computers, it's just a switch
[08:48] <ivoks> ufff
[08:48] <ivoks> 255.0.0.0?!
[08:48] <KennyTheGeek> the other routers subnet is 255.255.255.0, and th ips are 192.168.1.2-192.168.1.something i dont know
[08:48] <KennyTheGeek> yes
[08:48] <KennyTheGeek> whats wrong?
[08:48] <KennyTheGeek> the dhcp server didn't like that adress when i tried it either >_>
[08:48] <ivoks> 255.0.0.0 could be too much for crapy wifi routers :)
[08:48] <mralphabet> that's most of the internets!
[08:48] <KennyTheGeek> the wifi router is fine!!!
[08:48] <ivoks> :)
[08:49] <ivoks> mralphabet: ?
[08:49] <mralphabet> 255.0.0.0 = most of the interwebs
[08:49] <KennyTheGeek> the router i got from my isp is the problem
[08:49] <KennyTheGeek> wow :S
[08:50] <KennyTheGeek> now im in the basement
[08:52] <ivoks> ok
[08:52] <ivoks> disconnect server from router
[08:52] <ivoks> and connect it to your laptops' ethernet
[08:52] <KennyTheGeek> i just connected it directly to my laptop, and ran sudo dhclient eth0
[08:52] <KennyTheGeek> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
[08:52] <KennyTheGeek> DHCPOFFER from 192.168.1.16
[08:52] <KennyTheGeek> DHCPREQUEST on eth0 to 255.255.255.255 port 67
[08:52] <KennyTheGeek> DHCPACK from 192.168.1.16
[08:52] <KennyTheGeek> bound to 192.168.1.17 -- renewal in 19111 seconds.
[08:52] <ivoks> don't do that
[08:52] <ivoks> as i said, it works
[08:53] <KennyTheGeek> okay then >_>
[08:53] <KennyTheGeek> what then?
[08:53] <ivoks> what kind of connection you have from your ISP?
[08:53] <KennyTheGeek> im not sure, static IP or dhcp
[08:53] <ivoks> pppoe or cable?
[08:53] <KennyTheGeek> DSL, cable
[08:54] <ivoks> dsl is pppoe :)
[08:54] <KennyTheGeek> >_>
[08:54] <fabbione> ivoks: not necessarely
[08:54] <fabbione> ivoks: i have pppoa adsl
[08:54] <ivoks> fabbione: right :)
[08:55] <KennyTheGeek> shawarma: tdc dsl... isnt that cable?
[08:55] <ivoks> KennyTheGeek: well, you should know what you've buyed from ISP, so we can continue this...
[08:55] <KennyTheGeek> i didnt buy it
[08:55] <fabbione> KennyTheGeek: oh you are on TDC
[08:55] <fabbione> you have dynamic ip
[08:55] <KennyTheGeek> fabbione: dane?
[08:55] <fabbione> KennyTheGeek: no, but i live in cph
[08:55] <KennyTheGeek> i thought so
[08:55] <ivoks> yay!
[08:55] <KennyTheGeek> fabbione: cool
[08:55] <fabbione> KennyTheGeek: tdc gives you a router.. eth/adsl
[08:55] <ivoks> fabbione: would you be so kind... ?:)
[08:56] <fabbione> you *usually* have dynamic ip on the adsl port
[08:56] <fabbione> and then on the internal ethernet a pool of 10.0.0.0/24 addresses assigned via dhcp
[08:56] <KennyTheGeek> fabbione: they gave me a stupid router, a adsl modem, and a phone connection filter
[08:57] <fabbione> what kind of adsl modem?
[08:57] <KennyTheGeek> that can be true, i only know what happens after that stupid router
[08:57] <KennyTheGeek> Siemens Speedstream 4100
[08:57] <KennyTheGeek> "Ethernet ADSL Modem"
[08:57] <fabbione> so you have...
[08:58] <KennyTheGeek> yes, what do i have? :S
[08:58] <fabbione> TDC cable -> filter -> modem -> router?
[08:58] <fabbione> and after the router the pc i guess
[08:58] <KennyTheGeek> Normal phone line -> filter -> my phone and adsl modem -> router -> another router, my server, and 2 printers
[08:58] <fabbione> ok... right...
[08:59] <fabbione> TDC cable = normal phone line
[08:59] <KennyTheGeek> yeah
[08:59] <fabbione> we don't care about your phone :)
[08:59] <fabbione> why 2 routers?
[08:59] <mralphabet> ethernet router --> ethernet + wireless router
[08:59] <KennyTheGeek> cause my dad purchased the wifi router. he asked in the shop for WiFi, and thats what he gave him
[08:59] <mralphabet> --> network
[08:59] <fabbione> oh i see
[08:59] <KennyTheGeek> *they
[08:59] <fabbione> feh that's annoying
[09:00] <KennyTheGeek> yeah
[09:00] <fabbione> KennyTheGeek: i suggest you do one step back
[09:00] <KennyTheGeek> what?
[09:00] <fabbione> remove the wireless router for now
[09:00] <KennyTheGeek> then i would loose internet, not a good idea
[09:00] <fabbione> KennyTheGeek: ok let me explain...
[09:00] <KennyTheGeek> my laptop is currently connected through that
[09:00] <fabbione> adsl modem -> router -> pc
[09:00] <fabbione> get to this setup
[09:01] <fabbione> you will see that your pc will get ip from the router
[09:01] <fabbione> in the 10.0.0.0/24 network 
[09:01] <fabbione> (if they didn't change too much)
[09:01] <fabbione> that will still work
[09:01] <KennyTheGeek> no, my stupid router delivers addresses above 192.168.1.2
[09:02] <fabbione> oh hold on a sec
[09:02] <fabbione> you are doing all of this because of the TDC router?
[09:03] <ivoks> he wants to replace it with his own server
[09:03] <ivoks> cause they are blocking ports
[09:03] <fabbione> ivoks: yes i am reading the scrollback
[09:03] <ivoks> but i still think ports are blocked somewhere else, not on the router... but it is possible that they are blocked on the router
[09:03] <fabbione> KennyTheGeek: you know that if you call up TDC they can unlock it for you but you need to pay something and you lose sw configuration support?
[09:03] <fabbione> ivoks: they are blocked on the router
[09:04] <fabbione> ivoks: i know people working at his ISP :)
[09:04] <ivoks> sounds to me that TDC is lame company :)
[09:04] <fabbione> ivoks: no, it's a just another money making machine... like any other big telco
[09:05] <fabbione> they ask money to unlock the router and more money if you mess up
[09:05] <ivoks> but... it would be easier to maintain it on one place...
[09:05] <ivoks> well, looking from that angle, sounds like an money-making-idea :)
[09:05] <fabbione> anyway what KennyTheGeek wants to do strictly assume that the adsl modem will work without the TDC router
[09:06] <mralphabet> so you want it to be dsl modem --> (eth0)Ubuntu Box(eth1) --> wireless router --> rest of network
[09:06] <mralphabet> it is very possible that they have mac filtering
[09:07] <mralphabet> you may need to find the external mac address of the TDC router and spoof it on eth0 (or eth1, whichever is connected to the dsl modem)
[09:09] <ivoks> why don't we compile freeradius with openssl support?
[09:12] <ivoks> ah, never mind :)
[09:12] <mralphabet> what was the answer?
[09:13] <KennyTheGeek> but i just wired me to the router, but wifi is priotized over ethernet
[09:13] <KennyTheGeek> i only got 20 minuttes of batt left
[09:13] <KennyTheGeek> wait... 10
[09:13] <KennyTheGeek> fabbione: are you there?
[09:13] <KennyTheGeek> hello?
[09:13] <ivoks> mralphabet: license
[09:13] <KennyTheGeek> ill soon have to run upstairs to charge...
[09:13] <KennyTheGeek> but when theyre done using the wifi (my sisters/parents) i can connect directly with the wifi routers cable...
[09:13] <KennyTheGeek> soon is... not
[09:13] <KennyTheGeek> *now
[09:13] <mralphabet> ivoks: ahhh
[09:14] <KennyTheGeek> back
[09:14] <mralphabet> KennyTheGeek: was I right?
[09:14] <mralphabet> 14:05 < mralphabet> so you want it to be dsl modem --> (eth0)Ubuntu Box(eth1) --> wireless router --> rest of network
[09:14] <KennyTheGeek> yes, basicly
[09:15] <KennyTheGeek> the wifi router should be connected to a switch which my printers in the basement also is connected to
[09:15] <mralphabet> aren't you the one with a router hanging off the ceiling from an ethernet cable and the server sitting on the floor?
[09:16] <KennyTheGeek> yeah
[09:16] <KennyTheGeek> now i replaced it with a longer wire, and got another nic /w long wire
[09:16] <mralphabet> k, something about this whole situation sounded familiar
[09:17] <KennyTheGeek> hehe
[09:17] <KennyTheGeek> but i don't think it uses spoofing, i replaced the router before (not ours, but another companys that wanted a new network... they had tdc, and same modem)
[09:18] <KennyTheGeek> *mac filtering
[09:18] <KennyTheGeek> not spoofing
[09:18] <mralphabet> yeah, k
[09:21] <KennyTheGeek> i also, for yet another company, used a LinkSys WiFi router as the router, so they don't use mac filtering :P
[09:28] <KennyTheGeek> in a moment, ill be back
[09:47] <KennyTheGeek> thats another reason i don't like that router >_>
[09:52] <KennyTheGeek> someone still here?
[09:53] <KennyTheGeek> dondrobates: i meant fabbione, mralphabet or ivok... they where the ones guiding me before...
[09:54] <KennyTheGeek> this stupid server Just Won't Work(tm)