[12:09] <kshahnjd> iface eth0 inet static
[12:09] <kshahnjd> 	address 192.168.1.50
[12:09] <kshahnjd> 	netmask 255.255.255.0
[12:09] <kshahnjd> 	gateway 192.168.1.1
[12:09] <tck> sudo route add default gw 192.168.1.1
[12:10] <tck> then try, sudo dhclient 
[12:11] <Nafallo> tck: WHAT!? :-)
[12:11] <kshahnjd> when i use your first line it says invalid argument
[12:11] <Nafallo> kshahnjd: your conf looks good. that should just work.
[12:12] <kshahnjd> when i dhclient it assigns me .33 again
[12:12] <kshahnjd> instead of .50
[12:12] <kshahnjd> it goes back to dhcp essentially
[12:12] <Nafallo> tck: why would you set up a static ip just to use dhcp to reset what you just did?
[12:12] <tck> dhclient can assign static ip addresses too right?
[12:13] <Nafallo> tck: if you've configured the dhcpd for that yes.
[12:13] <tck> kshahnjd, print a netstat -r 
[12:13] <Nafallo> tck: but you doesn't have to set up the static ip on the computer before that then
[12:13] <tck> and show the output
[12:13] <Innatech> scottk lionel : thanks for info @ 15:21 & 15:27. 
[12:13] <kshahnjd> tck: I can't show you the input, I can type it over to you, two separate computers
[12:13] <lionel> np :)
[12:13] <Nafallo> kshahnjd: sudo ifdown eth0 && sudo ifup eth0 with that conf should just work. you might want to try that.
[12:14] <Nafallo> kshahnjd: forget about using dhcp until you have configured the dhcpd :-)
[12:15] <kshahnjd> Nafallo: it returns the following "don't seem to be have all the avariables for eth0/inet failed to bring up eth0"
[12:15] <Nafallo> kshahnjd: try to add broadcast 192.168.1.255
[12:15] <Nafallo> kshahnjd: to interfaces of course.
[12:16] <Nafallo> kshahnjd: then save the file and try sudo ifup eth0 again
[12:16] <tck> iface eth0 inet static
[12:16] <tck> address 192.168.1.50
[12:16] <tck> netmask 255.255.255.0
[12:16] <tck> network 192.168.1.0
[12:16] <tck> broadcast 192.168.1.255
[12:16] <tck> gateway 192.168.1.1
[12:17] <Nafallo> right. network aswell :-)
[12:17] <Nafallo> but I can't understand why does are still needed.
[12:17] <Nafallo> those even
[12:17] <tck> variety is the spice of life :P
[12:17] <kshahnjd> same thing, same error "if down: interface eth0 not configured don't seem to have all the variables for eth0/inet"
[12:18] <tck> kshahnjd, try sudo /etc/init.d/networking restart
[12:19] <kshahnjd> i have, ifconfig still says .33
[12:19] <tck> bring eth0 down
[12:19] <tck> sudo ifdown eth0
[12:20] <kshahnjd> same error, "don't seem to have all the variables for eth0/inet" faild to bring up eth0
[12:20] <Nafallo> ehrm. if down says you don't have the variables?
[12:20] <kshahnjd> yeah, keeps saying the same thing
[12:20] <Nafallo> weird
[12:20] <kshahnjd> am i missing something else?
[12:20] <tck> specify, ifdown -i eth0
[12:20] <Nafallo> kshahnjd: definatly. I just don't know what :-)
[12:21] <kshahnjd> -i isn't an option
[12:21] <kshahnjd> 'use --help for help
[12:21] <tck> i've never used it, but hey
[12:21] <tck> its eliminated
[12:22] <kshahnjd> actually in the help it still says its there
[12:22] <tck> hey try this
[12:22] <kshahnjd> k
[12:22] <tck> sudo ifport eth0 auto
[12:22] <kshahnjd> ifport command not found
[12:22] <tck> ok nm
[12:23] <Nafallo> ehrm
[12:23] <tck> can you print netstat -r
[12:23] <Nafallo> never heard of :-)
[12:23] <tck> and ifconfig for us?
[12:23] <Nafallo> whats ifport?
[12:23] <tck>  ifport - select the transceiver type for a network interface
[12:23] <tck> SYNOPSIS
[12:23] <tck>        ifport interface [auto|10baseT|10base2|aui|100baseT|##] 
[12:23] <tck>        The  network  drivers  may not reconfigure a card for a new transceiver
[12:23] <tck>        type if the interface is already open
[12:24] <kshahnjd> Kernel IP Routing Table destination 192.168.1.0 default Gateway * 192.168.1.1 Flags U UG MSS 0 0 Window ) 0 irtt 0 0 Iface eth 0 eth0
[12:24] <Nafallo> tck: hmm. I use ethtool for that :-)
[12:24] <kshahnjd> that is the netstat -r
[12:25] <tck> can you paste that in http://paste.ubuntu-nl.org please?
[12:26] <kshahnjd> the server is on another laptop, is there a way?
[12:26] <kshahnjd> i mean, beyond piping it and reading it here and copying and pasting
[12:27] <kshahnjd> the laptop i'm on is not the server, the server is next to me
[12:27] <tck> well its a bit messed up, hard to see whats what 
[12:27] <tck> ah ok
[12:27] <tck> well yeah..
[12:27] <kshahnjd> i wrote the columns side by side
[12:27] <tck> can you try
[12:27] <kshahnjd> sry
[12:27] <tck> well it has taken your default gateway
[12:28] <kshahnjd> yes
[12:28] <kshahnjd> 192.168.1.1
[12:28] <tck> there should usually be a default entry under Destination
[12:28] <kshahnjd> what is the apache wwwroot by default install? I can pipe it to a new file there and copy and paste it over here
[12:28] <tck> the web root?
[12:29] <kshahnjd> yeah, Destination is 192.168.1.0 and below it it says 'default'
[12:29] <kshahnjd> yes
[12:29] <tck> /var/www/
[12:29] <tck> heres mine for ex.
[12:29] <tck> http://paste.ubuntu-nl.org/29866/
[12:30] <kshahnjd> is link-local the local loop?
[12:31] <tck> I guess so
[12:31] <tck> judging by the subnet
[12:31] <Nafallo> no. it isn't
[12:31] <Nafallo> 127.0.0.1 is loopback.
[12:31] <kshahnjd> this is the command I'm running to pipe it so I can paste it to you:  sudo netstat-r >> /var/www/netstat.txt
[12:31] <Nafallo> link-local is the address things get when DHCP doesn't answer
[12:32] <kshahnjd> and I'm getting 'permission denied'
[12:32] <Nafallo> 169.254/16
[12:32] <tck> i.e. like APIA
[12:32] <tck> hence the subnet mask being in that range
[12:32] <Nafallo> kshahnjd: sudo doesn't work with pipes.
[12:32] <Nafallo> kshahnjd: sudo -i and then run the commands.
[12:32] <Nafallo> APIA?
[12:32] <Nafallo> 127.0.0.1 is /8 btw
[12:33] <Nafallo> or rather 127.0.0.0/8
[12:33] <tck> ok
[12:33] <kshahnjd> here is the pastebin
[12:33] <kshahnjd> http://paste.ubuntu-nl.org/29867/
[12:34] <tck> or APIPA
[12:34] <tck> thx
[12:34] <Nafallo> tck: what does that mean?
[12:34] <tck> automatic private addressing or something
[12:34] <tck> cool kshahnjd cool 
[12:34] <tck> looks ok
[12:34] <Nafallo> tck: sounds like something you just came up with TBH ;-)
[12:35] <tck> http://www.google.ie/search?hl=en&q=define%3AAPIPA&btnG=Google+Search&meta=
[12:35] <tck> bite me :P
[12:35] <Nafallo> other people just was link-local etc... :-)
[12:35] <Nafallo> hehe
[12:36] <tck> kshahnjd, somehow you've got to flush the current DHCP assigned ip addy
[12:36] <kshahnjd> it loves the dhcp for some reason
[12:36] <kshahnjd> day 1 of linux with me has been abject failure
[12:36] <tck> can you do a pastebin of ifconfig -a for us too ?
[12:36] <tck> its a brilliant learning curve ;)
[12:36] <kshahnjd> hehe
[12:37] <tck> you'll be an expert after a week
[12:37] <kshahnjd> heres hopin
[12:37] <tck> ifconfig -a results?
[12:37] <kshahnjd> http://paste.ubuntu-nl.org/29868/
[12:39] <tck> thx
[12:40] <tck> try  sudo ifdown eth0 again can you?
[12:40] <kshahnjd> interface eth0 not configured
[12:40] <tck> grr
[12:41] <kshahnjd> btw what did sudo -i do?
[12:41] <kshahnjd> well, i can rtm
[12:42] <tck> im trying stuff in my shell, just a min :)
[12:42] <kshahnjd> oooh simulate initial login
[12:42] <kshahnjd> k, thx
[12:42] <tck> did you have dhcpd installed by any chance?
[12:43] <kshahnjd> a dhcpd
[12:43] <kshahnjd> ?
[12:43] <kshahnjd> the daemon
[12:43] <tck> yes
[12:43] <kshahnjd> no, i don't know, unless it came standard
[12:43] <tck> ok type
[12:43] <tck> dhcpd in the shell
[12:43] <tck> if you don't have it, it will prompt you to install it, you don't need to
[12:43] <kshahnjd> the program 'dhcpd' is currently not installed
[12:43] <tck> ok ok cool
[12:44] <kshahnjd> do i need to edit /etc/resolv.conf ?
[12:44] <kshahnjd> by any chance
[12:44] <tck> i know sometimes, a dhcp -k eth0 would send a sighup to the dhcpd daemon
[12:44] <tck> whats in there at the moment
[12:45] <kshahnjd> nameserver 192.168.1.1
[12:45] <kshahnjd> thats it
[12:45] <tck> type in dnsdomainname 
[12:45] <tck> ok
[12:45] <kshahnjd> done
[12:46] <kshahnjd> no response from the shell though
[12:46] <tck> ok thats ok
[12:46] <tck> but you are letting your gateway assign dns settings right (while were talkinga bout it)
[12:46] <tck> i have my ISP settings in there
[12:46] <tck> nameserver 192.111.39.1
[12:46] <tck> nameserver 192.111.39.4
[12:46] <tck>  for ex.
[12:47] <kshahnjd> I have the router's ip there
[12:47] <kshahnjd> home network
[12:47] <kshahnjd> netgear router
[12:47] <tck> i use a linksys, 
[12:49] <tck> i found something on google
[12:50] <tck> http://www.ubuntugeek.com/change-ubuntu-system-from-dhcp-to-a-static-ip-address.html
[12:50] <tck> according to one of the follow up posts
[12:51] <tck> maybe one of the network-managers are affecting it
[12:51] <dorianj> hi all, I'm running a default 7.04 LAMP stack, but cannot get PHP to recognize php.ini files that are in the same directory of the script. Are there any settings that the default install sets that I should be aware of?
[12:52] <kshahnjd> i'm going to read it over
[02:15] <leonel> dorianj: there's no php.ini per  directory  it's a php.ini only   and it is etc/php5/apache2/php.ini
[03:08] <r00tintheb0x> Hey guys, is there any way to switch a Fedora server to an Ubuntu server remotely?
[03:09] <r00tintheb0x> Should I just SCP all the directories over and reinstall grub?
[03:11] <r00tintheb0x> brb
[03:30] <r00tintheb0x> so anyone have any ideas about my question?
[03:32] <ScottK> There is a way to do it (I've read about doing it with Debian), but it's non-trivial.  Google should help you.  I don't have the link.  
[03:33] <r00tintheb0x> Okay ScottK, i think it should pretty easy. If i "tar -cjvf root.tar.gz /", then do a "mv /var /var.old" "mv /home /home.old" etc etc etc... and reinstall grub, and ensure all the modules load correctly then that should be it correct?
[03:34] <ScottK> I really don't know.  I'd experiment on a local machine first.
[03:34] <leonel> r00tintheb0x:  pxeboot 
[03:34] <leonel> r00tintheb0x: I've installed  CentOS 4 with pxeboot remotely 
[03:35] <leonel> r00tintheb0x: I guess with ubuntu can be done   even I've never done a ubuntu install with pxe
[03:35] <r00tintheb0x> sweet leonel thanks
[03:36] <leonel> r00tintheb0x: http://myy.helia.fi/~karte/ubuntu_pxe.html  
[03:38] <r00tintheb0x> Thanks, im checking out http://ubuntuforums.org/showthread.php?t=327597&highlight=PXE+Install also.
[03:42] <r00tintheb0x> Man, its nice not to see all the n00b questions flying by @ 100Mph.
[01:04] <khermans> how can i add sources from apt.sources.d/* to unattended-upgrades ?
[01:04] <khermans> i am able to add everything else, like feisty-updates
[01:12] <ph8> hey guys! I've just joined the team
[01:13] <ph8> I want to submit a fix for https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/33940
[01:13] <ubotu> Launchpad bug 33940 in mysql-dfsg-5.0 "mysql_setpermission broken" [Medium,Confirmed]  
[01:13] <ph8> can anyone link me to info on the procedure?
[01:13] <ph8> i have a patch file ready
[01:20] <ph8> i couldn't find a more general wiki
[01:20] <ph8> anyone got any links?
[01:30] <ivoks> -exit
[05:50] <ph8> anyone awake?
[05:50] <ph8> i put in a patch for a bug earlier, i only joined the team yesterday - just wondering what i need to do now
[05:51] <ivoks> hi
[05:51] <ph8> hi :)
[05:51] <ivoks> patch for what?
[05:51] <ivoks> and where?
[05:52] <ph8> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/33940
[05:52] <ubotu> Launchpad bug 33940 in mysql-dfsg-5.0 "mysql_setpermission broken" [Medium,Confirmed]  
[05:53] <ivoks> you should include it in mysql package
[05:53] <ph8> ok, does that mean i contact its maintainer? can i do it myself somehow?
[05:53] <ivoks> and, if you don't have main upload privileges, ask for someone to mentor you
[05:53] <ph8> ah i'll need to do that then :)
[05:53] <ivoks> you can do it (and you should)  by your self
[05:54] <ivoks> if you didn't work with deb packages, ask for mentor directly...
[05:54] <ph8> i see
[05:54] <ivoks> i don't have main upload privileges too, so i can't sponsor it
[05:55] <ivoks> beh...
[05:55] <ph8> do you happen to know if there's a main mentor-getting site? launchpad is quite hard to navigate
[05:55] <ivoks> if you didn't work with deb packages, ask for sponsor directly...
[05:55] <ivoks> not mentor, sponsor :)
[05:56] <ph8> https://blueprints.launchpad.net/~ubuntu-kernel-server/+mentoring
[05:56] <ph8> :o
[05:56] <ivoks> https://launchpad.net/~ubuntu-server/+members - find a member who is part of core-dev team
[06:00] <ScottK> ph8: This is probably a good place to ask, just not on a weekend.
[06:04] <ph8> :)
[06:04] <ph8> i work during the week
[06:04] <ph8> haha
[06:04] <ivoks> heh
[06:04] <ph8> no time for fun in the office :)
[06:04] <ivoks> i work always :/
[06:04] <ph8> seems odd the bug i just fixed
[06:05] <ph8> odd in the sense that it's been open so long
[06:05] <ph8> argh, gotta dash
[06:05] <ph8> back soon!
[06:05] <ScottK> You might also ask (politely) if anyone in #ubuntu-motu has time to help you prepare a debdiff for the bug.
[06:06] <ScottK> If you get one, you can then attach it so the bug and subscribe ubuntu-main-sponsors and it'll get looked at for upload.
[06:06] <ScottK> ph8: ^^
[06:44] <Xanith> I'm having a weird problem with certain characters such as ' showing up funny on my lamp server. Can someone look at this and maybe help me out?
[06:45] <BFTD> are they like @#$%?
[06:45] <BFTD> ot stuff that isn't on the keyboard?
[06:46] <Xanith> yea like the ' shows up with a diamond and a ? inside of it
[06:46] <Xanith> if you'd like i can pm you the IP to access the page and see it..
[06:46] <Xanith> my router forwards port 80 to the server here at my house
[06:46] <BFTD> hrm
[06:46] <BFTD> um...might