[00:15] evening [01:21] I've got a fakeraid issue. When I'm installing (I''m using the desktop alternate CD, but they told me to ask here) but when I got to resize the existing ntfs partition on the volumne, it says the device doesn't have a valid ntfs. Any thoughts? Vista exists already, and I want to dual boot [02:19] petafile: What release are you installing? === ball is now known as ball_ [03:29] 8.10 [03:30] I put up a post on ubuntuforums, so It would prbably be good to answer it there to help anyone else with the same issue === mcasadevall is now known as NCommander [03:58] hello XFCEntral [03:58] hello ball! [04:51] * genii sips [05:23] hi [05:25] I need some help with setting a hostname it always ends up with servername.gateway.2wire.net and fails loading in a browser [05:37] lwizardl: do you own an fqdm? [05:37] ? [05:38] full domain name? [05:38] fully qualified domain name [05:38] yes but not going to be use on this server [05:38] I'm trying to setup a test script server only [05:38] so only viewable on network (intranet) [05:40] lwizardl: what kind of machines are you trying to connect to that server? [05:41] just ubuntu with a web browser, and a sftp [05:41] Oh okay. [05:42] I'd just stick your server, with its IP address in each host's /etc/hosts file then. [05:42] cat /etc/hostname what does that output? [05:42] I plan to have the server as a lamp, [05:43] it displays the servername.gateway.2wire.net [05:44] change that to your desired hostname, then /etc/init.d/hostname.sh start [05:44] Looks like your upstream appends it's own domain [05:45] can the hostname be like name@192.168.1.X [05:45] im sorry, let me clarify--change your hostname, then issue "/etc/. . ." as a command [05:45] ? [05:46] 'name' being the servers name or a user name? [05:49] servername [05:50] youd like to visit name@192.168.1.X in a browser in that format? [05:50] on one of the other machines [05:51] in /etc/hostname you can simply put in the name without the IP [05:51] example: "ubuntu-server" [05:51] XFCEntral: would that resort to DNS then? [05:51] i would prefer to put that in /etc/hosts on the remote machine in question, along with the static IP [05:51] XFCEntral: thats what i was trying to do before. type http://servername/ in firefox [05:52] oh, hostname. [05:52] but i always got an error [05:52] ...I was thinking of /etc/hosts [05:52] lwizardl: yeah, that works for me. [05:52] ball: yeah, i was talking about the file where you declare your hostname in Debian systems [05:52] i'm going to ssh into the box and see whats up [05:52] "...hostname" [05:53] lwizardl: on the laptop i use to connect to my machines, i simply name them all in /etc/hosts with their corresponding static IPs. then my browser and SSH understands them by name, for example [05:53] ok seems apache2 is failing to load now [05:54] probably needs the change in ports.conf to reflect [05:54] or alias definitions, etc [05:56] I second XFCEntral's suggestion [05:56] ball: thanks, seems to work for me since ive only got a handful of machines to worry about and its only for testing, like in lwizardl's case [05:57] * ball nods [05:57] Same here, with my small LAN [05:57] ok but when i get to the that spot i type in the servername i want i'll use "WS1" for this example [05:58] when i get to a spot in the configure it auto has WS1.gateway.2wire.net in the box [05:58] i'm following this http://www.howtoforge.com/perfect-server-ubuntu-8.10 [05:58] lwizardl: configure? Just use a text editor [05:59] on that link i just posted page 2 top is where i set it as WS1 [06:00] Today must be national "not listening day" or something. I've got threads going on in three channels where the person just plain isn't listening to what they're told. [06:00] hehe [06:00] lwizardl: you mean you specified your hostname as "WS1" at install? [06:00] yes [06:01] well, really if you want to access it at the name "ws1" from a different computer, try editing the file /etc/hosts in the OTHER computer, so it will recognize your server by its new name [06:01] and then during the rest of the install it seems to auto become WS1.gateway.2wire.net by itself [06:02] 'elo [06:02] that may be a different way to refer to it, but the hostname for the machine is in there--WS1 [06:02] i'm going to try and reinstall the ubuntu server os and when it gets back to that spot i'll post the info here [06:02] really what youd like to have happen is for a remote machine to connect to WS1 using the name WS1, correct? [06:02] http://ws1/ [06:03] (works for me). [06:03] ball: yeah thats fine for me [06:03] ball: yes, that. thanks haha [06:04] I want to install ubuntu server on my laptop, but the ethernet is messed up. could i install the os, transfer the b43-fwcutter.deb file to it from a usb stick, then install and my wireless works? or is there more to it than that? [06:04] so i'm starting the install again now so I'll be about 20 mins roughly before i start posting stuff [06:04] why are you reinstalling?! [06:04] its and older compaq ipaq 550mhz 256mb ram 8gb hdd terminal [06:05] lwizardl: what changes are you trying to wipe out by reinstalling all together? [06:05] I'm running Xubuntu on a 550 MHz Pentium III with 512 Mbytes RAM [06:06] XFCEntral: trying to figure out where it starts to get the 2wire.net thing [06:06] is that your ISP? [06:07] yeah [06:07] lwizardl: Most likely it gets it from a DHCP request to the ISP. [06:07] AT&T U-Verse with a 2wire modem/router [06:07] i see. and you would like your hostname on that machine to _not_ have 2wire.net in it? [06:08] yes [06:08] So DHCP is coming from the router... can you get into the router and configure its DHCP server? [06:08] somethings yeah i think so [06:08] but a few things are blocked [06:09] lwizardl: have you tried changing it in the file "/etc/hostname" ? if you change the text contained in that file, it will reflect the new hostname of your machine [06:09] ok the hostname i set was "WS1" nothing else and nows its installing the base system @ 6% [06:09] I want to set up a separate LAN for experimentation with Ubuntu server, but that'll have to wait until after Christmas [06:10] ...hopefully I'll get some 1m patch cables. [06:10] ball: ive got LAN to my ubuntu server and a switch after it, and ive connected to that a couple edubuntu thin clients. its pretty cool [06:11] ball: well i'm learning PHP and MySQL so i want a server i can learn on without some script kiddie terrorizing my server from SQL injections becuase of my learning code [06:11] lwizardl: Two options; (a) configure the LAN connection as static this time, to avoid the hostname info coming from the router; (b) edit the router DHCP configs to give out the name/domain you want. [06:12] jmarsden ok well i hope to post the stuff as i go and get this working [06:13] XFCEntral: I'll probably add another NIC to the Ubuntu Server box [06:13] i have done this before as a online server using my real domain name but i don't want this machine accessable outside the network [06:13] bbiaf [06:13] (one for connection to the general LAN (and via that the Internet), one for connection to client hardware. [06:13] ball: its fun stuff! and you have a nice, isolated client-server setup [06:13] thats my christmas break project [06:13] lwizardl: Unless you have explicitly deliberately opened ports in the router, it won't be accessible from the outside. No matter what you name it. [06:14] I see enough php at work [06:14] ...and I've discovered that I don't like weakly-typed languages. [06:14] ...or my employer. [06:14] ball: haha. and perl ftw ;) [06:14] ball: So you now write all web apps in Algol68? [06:15] I wish! [06:15] I like Algol [06:15] ...and Pascal [06:16] I should probably learn Oberon [06:16] ...especially now the semester's over. [06:16] Free Algol69 compiler... http://www.xs4all.nl/~jmvdveer/algol.html have fun :) [06:17] *Algol68 [06:17] * ball nods [06:17] I have one [06:18] * jmarsden thinks... my Algol68 class was in... 1982, I think! [06:19] I miss being able to run Oberon as a client OS [06:19] I'm looking for a way to store my address book and task list on a central server, such that Evolution will be in sync all the time on multiple machines. Is LDAP the appropriate solution for this? [06:21] LDAP should take care of the contact list [06:22] Oh yeah, I need to find some Palm software for Linux too. [06:22] XFCEntral: Is it totally overkill for a single user though? [06:22] ball: the website for access has some new developer resources. looking for an emulator? [06:23] It looks like the tasks can be saved too, through a webcal:// address, which I don't entirely understand, but is promising. [06:23] tonyyarusso: i would lean towards yes, but if you have multiple machines and really want to share the same address book, you sure could give it a go. might be a nice exercise, the way id see it [06:24] XFCEntral: just something I can type notes and perhaps calendar events into and then sync that against the physical PDA [06:24] ball: i have gnome-pilot to handle sync and configuration, and it works well with Evolution [06:24] XFCEntral: That's a fair point. I am looking to do system administration for a living, so LDAP would be a good thing to know. [06:24] for both my T|X and Centro, but i only sync the Centro now [06:25] I won't know what Evolution is. [06:25] tonyyarusso: you and i are like-minded then :) [06:25] ball: You could try running Native Oberon in a VM? networking would probably need hacking, but the rest might even work? [06:25] XFCEntral: Do you know offhand of any web client type things that I could set up for accessing it away from home too? [06:25] ball: its the big PIM for email, contacts, tasks, memos that comes with GNOME installations of Ubuntu, and Fedora. its a Novell app. you might find its a lot like the Palm OS PIM desktop software [06:26] jmarsden: I don't have a machine powerful enough for virtual machines. [06:26] hi guys could anybody help me set up SSL certs for my domains [06:26] OK... well, try Native Oberon ... natively on a spare older PC...? [06:27] i got 2 domains i need SSL on [06:27] both are using vitural hosting [06:27] jmarsden: that's an option. [06:27] I used to have a Native Oberon partition, but that fell by the wayside. [06:27] tonyyarusso: if you want to access that central server, you will probably need to first assign it a static private address "192.168.1... etc" and then configure your router to forward port 22 to that machines address. if you, from a remote location, ssh to your home's internet-facing IP it should forward to the machine. using SSH you can do all your maintenance. am i right everyone? dont want to give out false info [06:28] I suppose egroupware would work. Again, overkill, but hey. [06:28] TimReichhart: There are many web pages describing that. One is at http://www.tc.umn.edu/~brams006/selfsign.html [06:28] XFCEntral: The LDAP server will run on a VPS in a remote datacenter, with both a static IP and a domain name. (Linode-hosted) [06:29] but my question is how would I do it for 2 different domains with virtual hosting? [06:29] XFCEntral: I'm basically just looking for a nice way to look up an e-mail address in a web browser in addition to Evo's access. [06:29] tonyyarusso: im sorry, i misunderstood what you asked before :( heh [06:29] TimReichhart: You need 2IPs , or you can run SSL for one of them on a non-standard port. [06:30] ok how would i do that jmarsden? [06:30] tonyyarusso: so you'd like a web client to browse the LDAP list? [06:30] Do which? You ask your provider for a second public Ip on the sever you are using...! [06:30] bc the domain names are working just right because I am using OScommerce on both of my sites [06:31] I cant do that I would have to get a second line ran and its going to cost me $$$ for second line [06:31] XFCEntral: Correct. It looks like egroupware would actually be the way to go, from what I can see in apt-cache. [06:31] I got FTTH [06:31] No, you can have multiple IP addresses on on connection ;) [06:32] not with my ISP told me [06:32] tonyyarusso: theres also phpLDAPadmin, but if egroupware fits the bill, by all means [06:32] It's a business FIOS setup or similar, right? [06:32] no I dont have FIOS [06:32] its FTTH [06:32] nice [06:32] with one line coming from outside box coming into my apt [06:33] I've been meaning to ask about that too jmarsden - whenever I activate more than one NIC on my machine it seems to start being unreliable connection-wise. I know I could set them up as bonded, with on IP over multiple interfaces, but I thought they'd be smart enough to work as is. [06:33] One fiver can carry many many many IP addresses, your provider is misbehaving. [06:33] and plus im behind a router [06:33] tonyyarusso: Multiple NICs on the same subnet? Bad idea. Multipel NICs, each on a separate subnet, works fine. [06:34] TimReichhart: Yes, the router can route multiple IPs too, if it is a decent router... that is what routers do, they route. [06:34] ok server finished installing [06:34] well im getting ready to install smoothwall [06:34] jmarsden: ah, I see. Yeah, the long-term goal was to use them for practicing routing stuff, but for the moment I thought I'd use it just for faster transfers. [06:34] for my router [06:34] but as of right now i am using a linksys wired router [06:34] i didn't select anything from the installer menu i'm going to do that all my terminal [06:35] TimReichhart: But If you really want to use a non-standard port, you can just hack on the apache config for one of the virthosts and adda a Listen 444 directove or whatever so your httpd listens on another port [06:35] can you please show me how to do that jmarsden [06:36] It's your server, you need to know enough about it not to just copy commadns I throw at you into a config file... have you ever lokekd at and edited an Apache config file before? [06:36] no i have not [06:37] i just know how to do virtual hosting and installing and updating the server [06:37] So how did you create the virtual hosts? You had to add VirtualHost directives toyour apache config, right? [06:38] i used webmin to do the virtual setup [06:38] OK. You will need to read /etc/apache2/apache2.conf and related files under there... [06:40] Documentation is under http://httpd.apache.org/docs/2.2/ and also in the apache2-doc Ubuntu package . [06:40] Webmin is a ncie timesaver, but no substitute for understanding what is happening underneath. [06:41] true [06:41] so I would have to add it to the ports then correct [06:41] from what I was reading from apache confg [06:42] i already got the ports listed as 443,444 [06:42] could i do this https://secure.domain1.com:444 or not [06:42] Once you haev read the docs and the config files a bit, you'll see that you can use a Listen 444 directive to start listening on that port. [06:42] or can i just have to https://secure.domain.com then it will listen on 444 [06:43] Then you can edit the virtual host stuff for one of your virtual hosts (probably under /etc/apache2/sites-enabled/ on Ubuntu) to use 444 rather than 443. [06:43] No, https://example.com would go to 443, you need to use https://example.com:444 to go there. [06:43] Sorry, that's what you said... [06:44] there is probley no way to hide that https://domain.com:444 [06:44] /clear [06:44] Well... get a second static IP and use port 443 :-) [06:45] ok [06:45] thanks for your help [06:45] ok doing the updates on the machine after enabling the new sources and then i'm going to install the ssh and openssh-server and then its time to start back on the server configure [06:45] TimReichhart: No problem. [06:50] Hmm... that's a difference between this desktop and the one on the console: the console has the "update" button [06:52] ok question [06:53] fire away [06:53] when setting a static ip in the interfaces file whats the network one for? [06:53] the example i have is 192.168.0.0 [06:54] * ball raises an eyebrow [06:54] in what context? [06:55] oh, interfaces file [06:55] address 192.168.0.100 [06:55] netmask 255.255.255.0 [06:55] network 192.168.0.0 [06:55] broadcast 192.168.0.255 [06:55] gateway 192.168.0.1 [06:55] let me check [06:55] ball: he's setting his eth0 interface configuration [06:55] XFCEntral: yes [06:55] that's a bit strange [06:55] lwizardl: whats your IP range? 192.168.1.X? [06:55] thats what the guide has for his example [06:55] XFCEntral: yes [06:55] i believe you will use 192.168.1.0 then [06:55] 192.168.1.2-255 iirc [06:55] ball: would that be right in his case? [06:56] Sounds reasonable, with a netmask of 255.255.255.0 [06:56] yeah thats what i have [06:56] ball: mhm [06:57] and my gateway set but just wasn't sure on the network [06:57] lwizardl: 192.168.1.1 [06:58] most likely. [06:58] yes [07:00] Well, it's my bed time, but I want to stay up and talk about networking [07:00] ball: dont blame ya [07:00] Oh, there's ##net too btw. [07:00] fork's stopped coughing... I need to just check that she's still breathing. [07:01] ok seems that works i can ping my real colo server from this box so network is working with new settings [07:01] lwizardl: thats good news [07:02] ok in my hosts file it gae it the 2wire.net thing again [07:02] That reminds me, I need to tell my router about cumine's MAC address [07:02] so i can just remove that and leave my servername? [07:02] lwizardl: you can replace that with the name you would like instead [07:03] ok because currently i have this [07:03] 192.168.1.180 WS1.gateway.2wire.net WS1 [07:04] that looks alright to me [07:04] so I would make it 192.168.1.180 WS1 WS1 [07:04] ? [07:04] similar to the example on howtoforge [07:05] right but that guide lists server1.example.com which this server won't have a true domainname [07:06] my server's hosts file looks like that [07:06] ubuntu-server.mylitestream.com ubuntu-server [07:07] so would WS1.localhost work? [07:07] No [07:07] that's just silly. [07:07] you could say localhost, if youre on that machine [07:07] but not both [07:08] ok because I want to access it from any machine on the network from like http://WS1/ [07:08] lwizardl: let me ask you this, where would you like to type this name, in order to access the server. whats the issue? [07:08] oh okay [07:09] well in order to do so, on your REMOTE machine not WS1, you could add 192.168.1.180 WS1 to the /etc/hosts file on that machine [07:10] Didn't I suggest that an hour ago? [07:10] the issue is not so much the /etc/hosts file of the WS1 machine, but the others [07:10] ball:yes... trying. haha [07:10] i plan to have this mainly for testing if my php scripts work without worrying about sql injectors while i'm learning PHP and MySQL [07:10] ok [07:11] * ball nods [07:11] lwizardl: yes, but if you would like to access that server from another computer, you must change its hosts file too [07:11] so then i can leave the server as WS1.gateway.2wire.net [07:11] I use php against DB2 [07:11] Would prefer to learn a new language and perhaps ProgresSql [07:12] lwizardl: your /etc/hosts file is OK on WS1. nothing wrong. you will need to add the IP and name you want, in OTHER /etc/hosts files. this way, they can know what you mean when you direct your browser to http://ws1/ [07:12] ok jmarsden from what this guy was telling me on StartSSL you can do multiple ssl's on 1 ip: http://forum.startcom.org/viewtopic.php?f=15&t=1534&sid=46ad87363a9ab93c018020c2650c319d [07:12] XFCEntral: ok so any machine i want to see that server i need to add the setting to their hostfile [07:13] lwizardl: if you wish to use the name http://ws1/ instead of typing out http://192.168.1.180 [07:14] TimReichhart: Looks like they are building some weird certificate that has both hostnames in it... which sounds liek it might work, but I have no idea how to create such certificates using openssl on Ubuntu. [07:14] ok the static ip is also ok [07:14] lwizardl: yes, your static IP setup seems to work perfectly [07:15] then it looks like I am going to have hire this person to it for me [07:15] Can't focus... going to bed [07:15] TimReichhart: You could. This approach may also be hard to scale.. how do you add a 3rd virtual host, for example... and a 4th... etc. [07:15] ball: take care [07:15] You too. [07:16] but jmarsden how would that work? [07:17] TimReichhart: I don't know. The answer I gave you is the one I learned when I aksed your questions a few years ago, and I use multiple non-standard ports myself on servers I admin. The way they scribe is new to me, so I can't really say how it works. [07:17] k [07:17] how do i clear my rsa keys file [07:18] lwizardl: edit it with a text editor and delete the lines you don't want, usually. [07:18] ok where the file at? [07:19] Which file are you talking about? I was thinking of ~/.ssh/known_hosts [07:19] Butyou also have RSA host keys, or could have, on a server, under /etc/ssh/ [07:20] thanks [07:20] No problem. [07:21] lwizardl: should be /etc/ssh/ssh_host_rsa_key [07:22] sound right to you, jmarsden? [07:22] XFCEntral: That is an RSA key file, one key. He asked for am rsa *keys* file, plural... [07:22] So it could be that one or it could be ~/ssh/known_hosts [07:23] yeah its was the known hosts [07:23] * jmarsden is glad he spotted that trailing 's' ;) [07:24] jmarsden: sorry about that... [07:24] No worries. [07:35] so jmarsden if i do that non standard port would I get any errors or not [07:36] You shouldn't see any errors, if you configure everything right, and if the customer is willing to use https://example.com:444 type URLs. [07:36] that is my main thought right now [07:36] well I know when you setup the OScommerce it ask for the https address [07:36] I do it that way and have for some time. No known errors caused by the multiple port approach. [07:37] bc i was thinking about doing this https://secure.cbcperformance.net:444 [07:37] You might have to tweak any web apps you use... again, this comes back to knowing what is going on underneath and not relying on nice pretty GUIs to do your setup and configuration for you :) [07:38] can i make a subdomain secure? [07:38] Yes, just like another other FQDN. [07:38] You could secure a site called https://a.b.c.d.e.f.g.sily.example.net if you wanted to have sub-sub-sub... domains :) [07:39] see right now I got the wildcard or I should say * [07:39] all my virtual host is set up as vitrual host * [07:40] i mean like this [07:40] RIght. So for one you now need and for the other you need [07:40] alright [07:41] would I put that information in the same area as my config for port 80 [07:41] Probably not, on Ubuntu, it beraks up the httpd config stuff into multiple files. [07:42] so i cant have it into my jbodyconnection.com.conf setup then [07:42] The per-virtualhost stuff seems to go under /etc/apache2/sites-enabled/ and the per-server gloabl stuff is /etc/apache2/apache2.conf I think. [07:42] You put a config line saying "Port 80" into a virtuahost? [07:43] That would be odd, to me at least. [07:44] here is how i got my virtual host setup [07:44] ServerName jbodyconnection.com [07:44] DocumentRoot /var/www/jbodyconnection/cart/catalog [07:44] under /etc/apache2/sites-available/jbodyconnection.com.conf [07:44] You can put the SSL vhost stuff in the same file as another related non-SSL vhost, sure [07:44] Sure, you can add another whole chunk of ... stuff ... ok just making sure [07:45] I need to go to bed... but I think you're on your way... have fun :) [07:45] thanks jmarsden [07:45] No problem. [07:56] anybody know how to setup the vpn server on ubuntu [11:34] hi there everyone. I has installed LAMP on my laptop to test, i can see apache running as www-data via ps -aef|grep apache. I wouldlike to add my user to the ww-data group but I cannot see it in the Users and Groups GUI... Is this normal? [11:34] yes. you are not supposed to add users to that group. [11:41] hi Nafallo, what would be the right way of editting files in the www folder?? [11:42] I added a group for that, chgrp -R on the folders needed and chmod -R g+w and added my users to that group. [11:42] not sure if it's correct, but that's how I did it. [11:43] super user typically. users can use their public_html if they want easy to edit sites [11:47] ok, i think I get it.. previously I believe I added myself to the www-data group... [13:38] * delcoyote hi [14:21] New bug: #309945 in open-iscsi (main) "[jaunty, intrepid] Hard system freeze using open-iscsi" [Undecided,New] https://launchpad.net/bugs/309945 [14:56] New bug: #309992 in dhcp3 (main) "Japanese manual-pages placed in wrong package" [Undecided,New] https://launchpad.net/bugs/309992 [16:43] how do I get ipmitool to work? I get this http://pastebin.com/f5aea744d [17:06] New bug: #310019 in mysql-dfsg-5.0 (main) "package mysql-server None [modified: /var/lib/dpkg/info/mysql-server.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/310019 [18:22] hi all o/ [18:22] o/ [18:25] question about mod_rewrite... I have installed LAMP and enabled mod_rewrite but i have a virtual host doc root as /home/user/Desktop/www/site and the site cannot see that mod_rewrite is available, even though a phpinfo() shows it available from the site root... Any ideas? [18:49] wish i could help you out with that... bit of a newbie here. Wish you luck though. === zxq is now known as zxq|Away === zxq|Away is now known as zxq [23:49] I found the problem! vmbuilder don't handle building partions mounted above other! for ex. /var and /var/log as separate partions ..... [23:50] Ooops wrong channel.... (I've got to go to bed now....) [23:50] lol