[12:09] iface eth0 inet static [12:09] address 192.168.1.50 [12:09] netmask 255.255.255.0 [12:09] gateway 192.168.1.1 [12:09] sudo route add default gw 192.168.1.1 [12:10] then try, sudo dhclient [12:11] tck: WHAT!? :-) [12:11] when i use your first line it says invalid argument [12:11] kshahnjd: your conf looks good. that should just work. [12:12] when i dhclient it assigns me .33 again [12:12] instead of .50 [12:12] it goes back to dhcp essentially [12:12] tck: why would you set up a static ip just to use dhcp to reset what you just did? [12:12] dhclient can assign static ip addresses too right? [12:13] tck: if you've configured the dhcpd for that yes. [12:13] kshahnjd, print a netstat -r [12:13] tck: but you doesn't have to set up the static ip on the computer before that then [12:13] and show the output [12:13] scottk lionel : thanks for info @ 15:21 & 15:27. [12:13] tck: I can't show you the input, I can type it over to you, two separate computers [12:13] np :) [12:13] kshahnjd: sudo ifdown eth0 && sudo ifup eth0 with that conf should just work. you might want to try that. === CarlFK [n=carl@c-76-29-25-210.hsd1.il.comcast.net] has joined #ubuntu-server [12:14] kshahnjd: forget about using dhcp until you have configured the dhcpd :-) [12:15] Nafallo: it returns the following "don't seem to be have all the avariables for eth0/inet failed to bring up eth0" [12:15] kshahnjd: try to add broadcast 192.168.1.255 [12:15] kshahnjd: to interfaces of course. [12:16] kshahnjd: then save the file and try sudo ifup eth0 again [12:16] iface eth0 inet static [12:16] address 192.168.1.50 [12:16] netmask 255.255.255.0 [12:16] network 192.168.1.0 [12:16] broadcast 192.168.1.255 [12:16] gateway 192.168.1.1 [12:17] right. network aswell :-) [12:17] but I can't understand why does are still needed. [12:17] those even [12:17] variety is the spice of life :P [12:17] same thing, same error "if down: interface eth0 not configured don't seem to have all the variables for eth0/inet" [12:18] kshahnjd, try sudo /etc/init.d/networking restart [12:19] i have, ifconfig still says .33 [12:19] bring eth0 down [12:19] sudo ifdown eth0 [12:20] same error, "don't seem to have all the variables for eth0/inet" faild to bring up eth0 [12:20] ehrm. if down says you don't have the variables? [12:20] yeah, keeps saying the same thing [12:20] weird [12:20] am i missing something else? [12:20] specify, ifdown -i eth0 [12:20] kshahnjd: definatly. I just don't know what :-) [12:21] -i isn't an option [12:21] 'use --help for help [12:21] i've never used it, but hey [12:21] its eliminated [12:22] actually in the help it still says its there [12:22] hey try this [12:22] k [12:22] sudo ifport eth0 auto [12:22] ifport command not found [12:22] ok nm [12:23] ehrm [12:23] can you print netstat -r [12:23] never heard of :-) [12:23] and ifconfig for us? [12:23] whats ifport? [12:23] ifport - select the transceiver type for a network interface [12:23] SYNOPSIS [12:23] ifport interface [auto|10baseT|10base2|aui|100baseT|##] [12:23] The network drivers may not reconfigure a card for a new transceiver [12:23] type if the interface is already open [12:24] 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] tck: hmm. I use ethtool for that :-) [12:24] that is the netstat -r [12:25] can you paste that in http://paste.ubuntu-nl.org please? [12:26] the server is on another laptop, is there a way? [12:26] i mean, beyond piping it and reading it here and copying and pasting [12:27] the laptop i'm on is not the server, the server is next to me [12:27] well its a bit messed up, hard to see whats what [12:27] ah ok [12:27] well yeah.. [12:27] i wrote the columns side by side [12:27] can you try [12:27] sry [12:27] well it has taken your default gateway [12:28] yes [12:28] 192.168.1.1 [12:28] there should usually be a default entry under Destination [12:28] 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] the web root? [12:29] yeah, Destination is 192.168.1.0 and below it it says 'default' [12:29] yes [12:29] /var/www/ [12:29] heres mine for ex. [12:29] http://paste.ubuntu-nl.org/29866/ [12:30] is link-local the local loop? [12:31] I guess so [12:31] judging by the subnet [12:31] no. it isn't [12:31] 127.0.0.1 is loopback. [12:31] 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] link-local is the address things get when DHCP doesn't answer [12:32] and I'm getting 'permission denied' [12:32] 169.254/16 [12:32] i.e. like APIA [12:32] hence the subnet mask being in that range [12:32] kshahnjd: sudo doesn't work with pipes. [12:32] kshahnjd: sudo -i and then run the commands. [12:32] APIA? [12:32] 127.0.0.1 is /8 btw [12:33] or rather 127.0.0.0/8 [12:33] ok [12:33] here is the pastebin [12:33] http://paste.ubuntu-nl.org/29867/ [12:34] or APIPA [12:34] thx [12:34] tck: what does that mean? [12:34] automatic private addressing or something [12:34] cool kshahnjd cool [12:34] looks ok [12:34] tck: sounds like something you just came up with TBH ;-) === leonel [n=leonel@189.155.89.250] has joined #ubuntu-server [12:35] http://www.google.ie/search?hl=en&q=define%3AAPIPA&btnG=Google+Search&meta= [12:35] bite me :P [12:35] other people just was link-local etc... :-) [12:35] hehe [12:36] kshahnjd, somehow you've got to flush the current DHCP assigned ip addy [12:36] it loves the dhcp for some reason [12:36] day 1 of linux with me has been abject failure [12:36] can you do a pastebin of ifconfig -a for us too ? [12:36] its a brilliant learning curve ;) [12:36] hehe [12:37] you'll be an expert after a week [12:37] heres hopin [12:37] ifconfig -a results? [12:37] http://paste.ubuntu-nl.org/29868/ [12:39] thx [12:40] try sudo ifdown eth0 again can you? [12:40] interface eth0 not configured [12:40] grr [12:41] btw what did sudo -i do? [12:41] well, i can rtm [12:42] im trying stuff in my shell, just a min :) [12:42] oooh simulate initial login [12:42] k, thx [12:42] did you have dhcpd installed by any chance? [12:43] a dhcpd [12:43] ? [12:43] the daemon [12:43] yes [12:43] no, i don't know, unless it came standard [12:43] ok type [12:43] dhcpd in the shell [12:43] if you don't have it, it will prompt you to install it, you don't need to [12:43] the program 'dhcpd' is currently not installed [12:43] ok ok cool [12:44] do i need to edit /etc/resolv.conf ? [12:44] by any chance [12:44] i know sometimes, a dhcp -k eth0 would send a sighup to the dhcpd daemon [12:44] whats in there at the moment [12:45] nameserver 192.168.1.1 [12:45] thats it [12:45] type in dnsdomainname [12:45] ok [12:45] done [12:46] no response from the shell though [12:46] ok thats ok [12:46] but you are letting your gateway assign dns settings right (while were talkinga bout it) [12:46] i have my ISP settings in there [12:46] nameserver 192.111.39.1 [12:46] nameserver 192.111.39.4 [12:46] for ex. [12:47] I have the router's ip there [12:47] home network [12:47] netgear router [12:47] i use a linksys, [12:49] i found something on google === dorianj [n=dorian@adsl-70-135-68-188.dsl.austtx.swbell.net] has joined #ubuntu-server [12:50] http://www.ubuntugeek.com/change-ubuntu-system-from-dhcp-to-a-static-ip-address.html [12:50] according to one of the follow up posts [12:51] maybe one of the network-managers are affecting it [12:51] 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] i'm going to read it over [02:15] dorianj: there's no php.ini per directory it's a php.ini only and it is etc/php5/apache2/php.ini === dguitar4 [n=dguitar4@c-69-143-141-223.hsd1.va.comcast.net] has joined #ubuntu-server === BFTD [n=thomas@67-150-247-224.oak.mdsg-pacwest.com] has joined #ubuntu-server === tck [n=tck@213-202-141-49.bas502.dsl.esat.net] has joined #ubuntu-server === YourMomsHero [n=cirish@74.202.196.195] has left #ubuntu-server [] === r00tintheb0x [n=mking213@cpe-24-175-105-194.houston.res.rr.com] has joined #ubuntu-server [03:08] Hey guys, is there any way to switch a Fedora server to an Ubuntu server remotely? [03:09] Should I just SCP all the directories over and reinstall grub? [03:11] brb === r00tintheb0x [n=mking213@66.60.229.68] has joined #ubuntu-server [03:30] so anyone have any ideas about my question? [03:32] 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] 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] I really don't know. I'd experiment on a local machine first. [03:34] r00tintheb0x: pxeboot [03:34] r00tintheb0x: I've installed CentOS 4 with pxeboot remotely [03:35] r00tintheb0x: I guess with ubuntu can be done even I've never done a ubuntu install with pxe [03:35] sweet leonel thanks [03:36] r00tintheb0x: http://myy.helia.fi/~karte/ubuntu_pxe.html [03:38] Thanks, im checking out http://ubuntuforums.org/showthread.php?t=327597&highlight=PXE+Install also. [03:42] Man, its nice not to see all the n00b questions flying by @ 100Mph. === rainbow` [n=ra1nb0w@host101-194-dynamic.58-82-r.retail.telecomitalia.it] has joined #ubuntu-server === jdstrand [n=james@mail.strandboge.com] has joined #ubuntu-server === ra1nb0w [n=ra1nb0w@host139-208-dynamic.58-82-r.retail.telecomitalia.it] has joined #ubuntu-server === r00tintheb0x_ [n=mking213@cpe-24-175-105-194.houston.res.rr.com] has joined #ubuntu-server === r00tintheb0x [n=mking213@cpe-24-175-105-194.houston.res.rr.com] has joined #ubuntu-server === OGDA [n=thomas@67-150-253-129.oak.mdsg-pacwest.com] has joined #ubuntu-server === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-server === nyarla [n=nyarla@amq80-1-82-246-81-91.fbx.proxad.net] has joined #ubuntu-server === ra1nb0w [n=ra1nb0w@host139-208-dynamic.58-82-r.retail.telecomitalia.it] has joined #ubuntu-server === ScottK2 [n=ScottK@ubuntu/member/scottk] has joined #ubuntu-server === ScottK-confused [n=ScottK@static-72-81-252-22.bltmmd.fios.verizon.net] has joined #ubuntu-server === ivoks [n=ivoks@5-241.dsl.iskon.hr] has joined #ubuntu-server === stephanbuys [n=stephanb@41.208.48.64] has joined #ubuntu-server === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-server === stephanbuys [n=stephanb@41-208-48-64.mtn.co.za] has joined #ubuntu-server === khermans [n=khermans@c-75-67-197-102.hsd1.ma.comcast.net] has joined #ubuntu-server [01:04] how can i add sources from apt.sources.d/* to unattended-upgrades ? [01:04] i am able to add everything else, like feisty-updates === ph8 [i=henri@85.234.155.91] has joined #ubuntu-server [01:12] hey guys! I've just joined the team [01:13] I want to submit a fix for https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/33940 [01:13] Launchpad bug 33940 in mysql-dfsg-5.0 "mysql_setpermission broken" [Medium,Confirmed] [01:13] can anyone link me to info on the procedure? [01:13] i have a patch file ready [01:20] i couldn't find a more general wiki [01:20] anyone got any links? [01:30] -exit === ivoks [n=ivoks@5-241.dsl.iskon.hr] has joined #ubuntu-server === ||arifaX [n=||arifaX@pd907f5ed.dip0.t-ipconnect.de] has joined #ubuntu-server === ScottK-confused [n=ScottK@70.91.79.98] has joined #ubuntu-server === lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server === ScottK2 [n=ScottK@ubuntu/member/scottk] has joined #ubuntu-server === nrpil [n=nrpil@s5591f679.adsl.wanadoo.nl] has joined #ubuntu-server === ScottK-confused [n=ScottK@static-72-81-252-22.bltmmd.fios.verizon.net] has joined #ubuntu-server === ivoks_ [n=ivoks@5-241.dsl.iskon.hr] has joined #ubuntu-server === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-server === ivoks [n=ivoks@5-241.dsl.iskon.hr] has joined #ubuntu-server [05:50] anyone awake? [05:50] 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] hi [05:51] hi :) [05:51] patch for what? [05:51] and where? [05:52] https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/33940 [05:52] Launchpad bug 33940 in mysql-dfsg-5.0 "mysql_setpermission broken" [Medium,Confirmed] [05:53] you should include it in mysql package [05:53] ok, does that mean i contact its maintainer? can i do it myself somehow? [05:53] and, if you don't have main upload privileges, ask for someone to mentor you [05:53] ah i'll need to do that then :) [05:53] you can do it (and you should) by your self [05:54] if you didn't work with deb packages, ask for mentor directly... [05:54] i see [05:54] i don't have main upload privileges too, so i can't sponsor it [05:55] beh... [05:55] do you happen to know if there's a main mentor-getting site? launchpad is quite hard to navigate [05:55] if you didn't work with deb packages, ask for sponsor directly... [05:55] not mentor, sponsor :) [05:56] https://blueprints.launchpad.net/~ubuntu-kernel-server/+mentoring [05:56] :o [05:56] https://launchpad.net/~ubuntu-server/+members - find a member who is part of core-dev team [06:00] ph8: This is probably a good place to ask, just not on a weekend. === nrpil [n=nrpil@s5591f679.adsl.wanadoo.nl] has joined #ubuntu-server [06:04] :) [06:04] i work during the week [06:04] haha [06:04] heh [06:04] no time for fun in the office :) [06:04] i work always :/ [06:04] seems odd the bug i just fixed [06:05] odd in the sense that it's been open so long [06:05] argh, gotta dash [06:05] back soon! [06:05] You might also ask (politely) if anyone in #ubuntu-motu has time to help you prepare a debdiff for the bug. [06:06] 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] ph8: ^^ === AlexC_ [n=alex@host86-128-192-33.range86-128.btcentralplus.com] has joined #ubuntu-server === AlexC_ [n=alex@host86-128-192-33.range86-128.btcentralplus.com] has left #ubuntu-server ["TangoCMS] === BFTD [n=thomas@67-150-254-125.oak.mdsg-pacwest.com] has joined #ubuntu-server === Xanith [n=yourmom@74-138-15-250.dhcp.insightbb.com] has joined #ubuntu-server [06:44] 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] are they like @#$%? [06:45] ot stuff that isn't on the keyboard? [06:46] yea like the ' shows up with a diamond and a ? inside of it [06:46] if you'd like i can pm you the IP to access the page and see it.. [06:46] my router forwards port 80 to the server here at my house [06:46] hrm [06:46] um...might === leonel [n=leonel@189.155.104.34] has joined #ubuntu-server === ivoks [n=ivoks@5-241.dsl.iskon.hr] has joined #ubuntu-server === Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server === _DustWolf [n=CommieWu@89-212-75-6.static.dsl.t-2.net] has joined #ubuntu-server === BFTD [n=thomas@67-150-254-125.oak.mdsg-pacwest.com] has joined #ubuntu-server === BFTD [n=thomas@216.139.26.215] has joined #ubuntu-server === YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server === YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has left #ubuntu-server [] === VikJES [n=esauve@modemcable183.15-202-24.mc.videotron.ca] has joined #ubuntu-server === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-server === Pumpernickle [n=Pumperni@about/essy/bacon/PuMpErNiCkLe] has joined #ubuntu-server === fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server === Pumpernickel [n=Pumperni@about/essy/bacon/PuMpErNiCkLe] has joined #ubuntu-server === Pumperni1kle [n=Pumperni@CPE0016b6c9fba4-CM0012c9a9a6dc.cpe.net.cable.rogers.com] has joined #ubuntu-server