[02:45] early morning humour http://www.toodarkpark.org/computers/humor/shoot-self-in-foot.html [03:11] and useful stuff [03:11] http://www.makeuseof.com/dir/qsnipps-store-snippets-of-code-for-later-use/ [05:38] morning [06:08] Morning Squirm [06:27] morning all [06:31] good morning === Kilos is now known as QA === QA is now known as Kilos [06:55] hi zeref [07:00] hi hi [07:02] yo kbmonkey howzit [07:04] hi kilos [07:04] oh dear i think my airtime just ran out [07:04] lol [07:04] eeek [07:05] how you Kilos [07:05] hi Kilos [07:05] ok ty kbmonkey [07:24] so tired this morning [07:30] hi Squirm [07:30] late night [07:40] umm [07:40] 2 hours sleep :/ [07:40] * Squirm shrugs [07:41] going to sit at the dam today [08:19] sit and sleep but no in the sun [08:19] hehe [08:27] Hey Kilos [08:27] hiya magespawn [08:29] have you got your server connected to a router? [08:29] yes [08:30] I let the router control the ip addresses for my network [08:30] maybe thats why im struggling so. mine is direct cable to this pc and iptables arent working good [08:31] what if one installs server on a second drive in a pc? [08:31] might it then go via first drive to 3g? [08:32] No you can only have one boot os as far as i know [08:32] the direct cable should work fine [08:33] i noticed when i added the maverick drive there maverick didnt see it but the server saw maverick [08:34] its a serious business setting up iptables to actually work. i got the server once to ping google but it couldnt do an update [08:34] now i dont even get it to do that anymore === Kilos- is now known as Kilos [08:51] magespawn, can i bug you? [08:51] how do you get the server to cp from a flash drive [08:56] when i plug in a stick here i get [08:57] assuming drive cache write through then no caching page present a few times then it just stays there but sees the stick as sdb [09:00] cp=copy? [09:00] ya [09:01] like i cant get to rsync via /media/stick or /dev/sdb/ [09:01] You would you the path to your flash drive then the path to where you want to copy [09:02] its the correct path i cant find [09:02] Ah right hold on asec [09:03] on ubuntu i use rsync -av /media/packs/ /var/cache/apt/archives/ [09:04] df -h [09:04] That should show all the mount points [09:05] Let me go to pc [09:06] nothing there about sdb at all [09:06] and i cant even paste the output anywhere [09:07] /dev/mapper/slowP4-root and /dev/sda1 [09:07] gandcnet2@gandcnet2-desktop:~$ df -h [09:07] Filesystem Size Used Avail Use% Mounted on [09:07] /dev/sda1 293G 9.2G 269G 4% / [09:07] udev 430M 4.0K 430M 1% /dev [09:07] tmpfs 175M 820K 174M 1% /run [09:07] none 5.0M 0 5.0M 0% /run/lock [09:07] none 437M 88K 437M 1% /run/shm [09:07] that is before the flash [09:07] ya like that [09:08] where is the stick [09:08] ah [09:08] and after is shows /dev/sdb1 7.5G 3.2G 4.3G 43% /media/3935-193F [09:08] at the bottom [09:08] aw mine doesnt [09:08] so this means that tha it is not mounting or it is not working at all [09:10] did you set it to auto mount? [09:10] no it says assuming drive cache: write through then doesnt go back to prompt again [09:11] i never saw any settings like that [09:11] me neither [09:12] lol [09:12] leme try mount it [09:13] grrr it says you must specify the filesystem type [09:14] maybe i must format the stick to ext4 first because it seems to look for ext 4 and 2 [09:14] https://help.ubuntu.com/community/Mount/USB maybe look here [09:14] ty [09:15] no it should work with the other file systems too [09:16] VFS: cant find ext4 filesystem [09:16] error: cant find ext2 filesystem on dev sdb [09:16] grrr [09:16] oh and dconf-tools will only work on a gui system [09:17] if i could just get it to go online with 3g id install a gui [09:17] lol [09:17] Maaz, google how to setup an ubuntu server to use a 3g modem [09:18] Kilos: "Configure Micromax MMX 352G USB 3G Modem and ... - Ask Ubuntu" http://askubuntu.com/questions/143394/configure-micromax-mmx-352g-usb-3g-modem-and-aircel-in-ubuntu-server-12-04-to-co :: "10.10 - How to install 3G mobile broadband? - Ask Ubuntu" http://askubuntu.com/questions/8441/how-to-install-3g-mobile-broadband :: "NetworkManager/Hardware/3G - Ubuntu [09:18] Wiki" https://wiki.ubuntu.com/NetworkManager/Hardware/3G :: "[ubuntu-za] 3G modem" https://li… [09:22] maybe im getting somewhere [09:22] sudo fdisk -l shows it as /dev/sdb1 [09:24] was about to ask what fdisk shows [09:24] lol [09:25] it might be easier to share the network connection than set up the modem on the server [09:26] what a job to read this [09:26] sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137 [09:27] here and type it on server [09:28] no copy/paste [09:28] can you not ssh to the server via the network cable? [09:33] yoohoo [09:33] you winning Kilos? [09:33] it is now seen as /media/external [09:33] and rsync running [09:34] excellent [09:34] can you ssh to the server Kilos? [09:34] so the big job is to let it be able to do an update [09:34] i dont know what that is magespawn [09:35] hold on a sec [09:35] i can ping it from here but not from there back again [09:35] Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices [09:35] so you set up a ssh server on the serve pc [09:37] https://help.ubuntu.com/10.04/serverguide/openssh-server.html [09:37] https://help.ubuntu.com/community/SSH/OpenSSH/Configuring [09:38] very useful then you can control both computer using just one keyboard/monitor setup [09:39] ty i will look there [09:39] i used the openssh choice [09:40] had to mkdir /media/external for external sticks etc [09:41] so much that ubuntu does for us one doesnt realise till you try a server [09:41] gui i mean [09:42] maybe this is what zeref was looking for yesterday as well [09:42] ty magespawn [09:42] yup but it is a good way to learn [09:43] i love ssh [09:43] you are right [09:50] Kilos do you use youtube? [09:51] to watch videos etc? [09:51] i have an account there but never go look at stuff [09:52] getting software is a far better use of data [09:53] why you ask? [09:53] youtube does use a lot, but there are a lot of tutorials [09:54] i just got some on drive repairs [09:55] if i go there often my 8ta bundle wont make 2 months [09:58] thats true [09:59] thats is one thing the govenment does not seem to understand about internet access [10:00] as long as there is money to be made peeps will limit everything they can to make more money [10:01] especially mobile broadband providers [10:15] so weird, i can ping 8.8.8.8 from server but cant do an update [10:19] what is 8.8.8.8? [10:20] the mobile guys are stuck with the bandwidth provided with the international cables etc [10:20] google [10:24] really? [10:24] thats what the fly said methinks [10:24] yo superfly [10:25] when i ping www.google.co.za i get this ip 74.125.233.88 [10:25] lemme try that [10:25] hi Kilos [10:26] and when i ping www.google.com i get this ip 74.125.233.49 [10:27] i get unknow host www.google.co.za and .com [10:27] but can ping 8.8.8.8 [10:27] grrr [10:28] magespawn, how do you now use this ssh thing to see the other pc [10:28] a link will do [10:29] open a terminal on your pc then type ssh username@ipaddress where username is the name of the user on the server and the ip is the ip address of the server [10:29] ah ok ty [10:29] a ssh server has to be running on the server though first [10:30] oh my and i cant install it till i get it online [10:30] isnt that openssh the server [10:31] yes [10:31] ssh: connect to host 192.168.1.2 port 22: Connection refused [10:31] grrr [10:34] worked from server to here and made its own key thing [10:34] hehe [10:34] did you read that link i posted? [10:34] looks like your desktop is blocking incomming connections [10:35] its the server that i coudnt ssh from here [10:35] but worked from server to here [10:36] i didnt do the key part in that link. didnt know what to do but will look again [10:37] which pc is the host now this one or the server [10:42] host for what? [10:42] the ssh? [10:47] whew [10:48] ssh-keygen -t dsa [10:48] generates keys from each pc but i cant do this [10:48] ssh-copy-id username@remotehost [10:49] from either pc [10:49] an easier way to do it would be to use iptables to restrict access to specific ip address. not as secure [10:51] i have setup iptables in nm for the 2 different ips [10:54] ssh-copy-id miles@192.168.1.2 [10:54] /usr/bin/ssh-copy-id: ERROR: No identities found [10:54] can the username be the same? [10:55] yes [10:56] as far as i remember [10:56] then i dunno why it cant copy then [10:56] or you can set up a user with restricted access for the ssh [10:56] i forget much too Kilos [10:56] one pc is miles@192.168.1.1 [10:57] other is miles@192.168.1.2 [10:57] hehe [10:58] maybe its something in the ssh conf file i gotta change [11:00] i gotta go eat [11:00] be good meantime [11:00] ty for the help magespawn [11:01] np [11:10] magespawn, Kilos: openssh server is not installed by default on desktops [11:11] ahh so maybe that is the problem then [11:11] there is nothing wrong with your configuration or you firewall [11:12] i th [11:12] what would be the problem with the ping then [11:12] ? [11:13] routing [11:14] okay [11:15] oh, you can ping ip addresses but not domain names? [11:15] explain please [11:15] DNS forwarding [11:15] * superfly didn't see the whole story [11:16] Kilos can ping the his server from the desktop but not vice versa [11:21] magespawn: ah, yes, most likely routing [11:22] so the server does not know where to send the packets? [11:22] most likely [11:23] though that's a little strange [11:24] i can ping both ways magespawn [11:24] * superfly is starting to get used to this swiping [11:24] cool Kilos [11:24] nice hey superfly [11:25] firewalls purged superfly [11:25] magespawn: pretty cool [11:25] arno and ufw [11:25] gotta go, bbl y'all [11:25] go well magespawn [11:26] still love my n900's physical keyboard more [11:27] all good there superfly ? put on some weight [11:27] ? [11:27] kilos, why are you running two firewall programs at the same time? [11:27] can one wget updates [11:27] Kilos: no extra weight yet [11:28] forgot ufw was there when i installed arno to try the sharing 3g bit [11:29] my server can ping 8.8.8.8 but cant do sudo apt-get update [11:29] so maybe a restriction somewhere [11:36] no, just DNS not set up properly [11:38] Kilos: type: cat /etc/resolv.conf [11:39] # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) [11:39] # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN [11:39] nameserver 127.0.0.1 [11:39] yes, there we go. [11:40] hehe what do you see? [11:41] wrong ip for server? [11:46] how would one edit that and not let it be overwritten [13:11] superfly, sorry to bug you. when i gedit that resolve.conf [13:11] do i add the ip of this pc or the server? [13:11] i mixed up some. this is the ssh server right and that is just a server pc [13:12] good afternoon all [13:12] hi Kilos [13:12] hi charl_ [13:21] i'm looking at the fibre optic deals, i could get 100mbps for only about 3 euro per month more than what i'm paying already [13:21] it's time they upgrade my city to fibre :) [13:21] wow [13:22] yeah i don't know why the city where i live is lagging behind [13:22] i'm not really happy with my current cable provider because i am paying 53 euro per month for 60mbps [13:22] ouch thats not cheap [13:23] i'm thinking i should downgrade to dsl, then i pay 23 euro per month but i get only 29 mbps [13:23] but that's less than half what i'm paying now for half the bandwidth [13:23] but ziggo (my cable provider) has monopoly at this point, that's why the prices are so high [13:23] not that the service is bad, i've never had my connection die on me or anything [13:24] ah [13:25] what i also don't get is that the pirate bay is being blocked on ziggo even though pirating is legal in the netherlands [13:25] i don't care about pirating too much but i do care about net neutrality [13:26] hi Mezenir [13:26] what you want to pirate? [13:27] no like i said i don't care about the pirate bay, but it's against net neutrality [13:52] good pirates end up walking the gang plank [13:58] lol [13:58] but that's not the point, they could have been blocking any ip address, it's the principle behind it [13:58] the principle is that they should not be able to block any given ip address [13:59] lol ya i understand [14:00] this looks like a great course, but it's quite expensive: http://www.w3devcampus.com/writing-great-web-applications-for-mobile/ [14:01] when i see the price tag i think "i'll just figure it out myself and do some googling" [14:01] but if you work for a company and they have a budget for training... [15:23] * Squirm stretches [15:23] Kilos: guess what happened to me at the dam today :/ [15:23] lol tell [15:23] sunburn [15:23] aw no man [15:23] :P [15:23] but [15:23] you have no idea how much suncream I used :/ [15:24] some are just a waste of money [15:24] nivia [15:24] 30spf [15:24] wow [15:24] oh well [15:24] if I go tomorrow I'm wearing a shirt all day [15:24] do you tan or just burn and peal [15:25] umm [15:25] I used to tan [15:25] vinegar will help for the burn [15:25] but since I've come back from the UK, I don't think I've quite built up my base tan properly [15:25] and vicks will help so you dont peal [15:25] I may peel again [15:26] vicks should help prevent pealing [15:26] and vinegar should stop the eina [15:26] not that sore [15:27] have you googled how to prevent pealing after sunburn [15:27] I just try aqueous cream [15:27] if you can save from pealing then your base tan should stay [15:28] yeah, I think I was burned as well, cause it's kind of new skin. I haven't finished peeling from last Friday [15:28] lol [15:28] but yoh, the sun was hot today. easily 30deg [15:28] yeah today was 33 here by us [15:28] and I got my skii and wakeboard [15:29] bbl, pool time ;) [15:30] k === Trix[a]r_za is now known as Trixar_za [17:03] * Squirm yawns [17:04] * Squirm prods Kilos [17:04] hi Squirm Cantide [17:04] hehe [17:04] Kilos: good weekend? [17:04] is today not saturday? [17:05] it's Sunday... [17:05] if so weekend still got another day to go [17:05] but has it been good so far? [17:06] kinda if my server would listen to me [17:06] what's it doing? [17:06] ...or not doing [17:07] i installed the ssh stuff here too but can ssh from server to here but not the other way around [17:07] have you started the service? [17:07] hey Kilos :) [17:07] then storm comes and kills power twice so i left the server off now [17:07] Squirm '< [17:07] ya [17:08] hello Cantide [17:08] Kilos: firewall not getting in the way? [17:08] it kinda refused or something [17:08] maybe try `ufw disable` [17:08] purged all firewalls everywhere [17:08] test it [17:09] wait some its booting [17:09] so connection refused? [17:09] I'd say firewall or service isn't running [17:10] # service ssh start [17:10] must i install anything on the server too [17:10] on the server, you just need the openssh-server [17:10] ok i chose that [17:12] job is already running [17:12] and you still can't login? [17:12] with this command [17:13] ssh miles@192.168.1.2 [17:13] yes [17:13] thats the servers ip [17:13] ssh: connect to host 192.168.1.2 port 22: Connection refused [17:13] Kilos: on the server, try ssh miles@127.0.0.1 [17:14] ok sec [17:14] connection refused [17:15] thew fly said it was here [17:15] try this on the server, cat /etc/ssh/sshd_config | grep Port [17:15] it should be 22 [17:15] though it's a long shot that it isn't [17:16] and I know you said it was running [17:16] ps aux | grep sshd [17:17] no such file or directory [17:18] Kilos: are you sure you have openssh installed? [17:18] openssh-server [17:18] ya i chose the top option it was openssh something [17:18] apt-get install openssh-server [17:19] it should tell you if you have it installed [17:19] or if `which sshd` returns anything [17:19] sshd in red at the end of ps aux | grep sshd [17:20] hmm, so you have sshd [17:20] but the config file doesn't seem to be there [17:21] wait lemme find what the fly said to do [17:21] cat /etc/resolv.conf [17:22] # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) [17:22] # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN [17:22] nameserver 127.0.0.1 [17:22] where that ip comes from [17:22] then I still think this command should have worked [17:22] ssh miles@127.0.0.1 [17:23] The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. [17:23] ECDSA key fingerprint is 10:a1:ec:28:08:11:8b:72:6e:a0:1d:c5:c9:6f:4a:ed. [17:23] Are you sure you want to continue connecting (yes/no)? [17:24] yes [17:24] yes [17:24] type yes [17:24] hehe [17:24] oh wait, did you type that command on the server? [17:24] no here [17:25] oh [17:25] you just ssh'd into your pc from your pc [17:25] should i have done it there [17:25] no [17:25] Kilos: try and copy /etc/ssh/sshd_config from your pc to your server [17:25] or an example [17:25] http://slexy.org/view/s2xXdsAHkA [17:25] eeek [17:26] does your server have internet? [17:26] no i have 3g here [17:26] maybe copy it onto a flash drive [17:27] and put it in the same place on the server. then from the server do a `service ssh restart` [17:27] I skiied once today and wakeboarded once today. but my legs are like jelly :/ [17:27] more skiing in the morning :) [17:28] that's the best way to get fit - keep at it :) [17:29] i need a command to copy that file please [17:29] Cantide: I try, I just don't have a boat. so I have to rely on other people [17:29] Kilos: to where [17:29] flash here is media 4G [17:30] so, `cp /etc/ssh/sshd_config /media/4G` [17:30] ? [17:30] /media/4G/ [17:31] then on your server, as root. `cp /media/4G/sshd_config /etc/ssh` [17:31] whats the little ' at the end for [17:31] it's just to denote it's a command [17:31] no there it is /media/external [17:31] had to mkdir /media/external there [17:31] the just substitute it for 4G [17:32] ok lemme go there now [17:33] Cantide: it's really good fun though. haven't used a wakeboard in a while. too tiring and much prefer slalom [17:34] Squirm, I bet :) [17:34] i was invited to go water skiing tomorrow [17:34] but the weather is too hot [17:34] and i have some things to do [17:36] no such file or directory [17:38] Kilos: which pc? [17:38] i can see the file on the stick here [17:38] i can cd to /media/external on the server [17:38] but ls shows nothing [17:39] `ls /media` [17:39] what do you see? [17:40] server givescdrom external floppy floppy0 [17:40] hmm [17:40] have you ever used mount before? [17:40] kinda [17:40] sudo mount [17:41] and /mnt at the end [17:41] not exactly [17:41] if you type dmesg [17:41] it'll be right near the bottom. you'll see text about a usb drive [17:41] and you'll see the device [17:41] it'll probably be sdf or something [17:42] or sdb [17:42] it'll be amongst talk about usb [17:42] at the end [17:43] there is scsi6 usb-storage 1-7:1.0 [17:43] and [17:44] scsi 6:0:0:0 Direct-Access hp v240b and some mopre [17:45] more [17:45] and sdb: sdb1 [17:45] umm [17:45] ok, that [17:45] mount /dev/sdb1 /media/external [17:46] then try ls /media/external [17:46] sec [17:46] hard to read here and type there [17:46] for all I know we could be wasting our time :/ but I'm trying :P [17:47] ya it shows the file [17:47] ty [17:48] ok, then try run the cp again [17:48] sshd_config in green [17:48] same command [17:48] ? [17:48] cp /media/external/sshd_config /etc/ssh [17:49] and then service ssh restart [17:49] then from the server, try ssh miles@127.0.0.1 [17:49] again [17:51] hey guys [17:51] hello magespawn [17:52] ssh: unrecognized service [17:52] hey magespawn [17:52] cant restart it with that command [17:52] or must that be here? [17:53] no, on your server [17:53] it dont recog that service [17:54] on your server, did you try type ps aux | grep sshd [17:55] sec ill do it again i think [17:56] ya it gave sshd in red remember [17:56] /usr/sbin/sshd -D [17:56] shows something like that? [17:56] this is as difficult as iptables stuff [17:58] on your server, try dpkg-reconfigure openssh-server [17:58] /usr/sbin/sshd: no such file or directory [17:58] ok sec [17:59] hey Squirm, Kilos [18:00] openssh-server is not installed [18:00] Kilos: I told you :p [18:00] whew [18:00] ahh there is the problem [18:00] I should have tried that command first :/ [18:00] got some commands for dpkg to [18:00] examine archives [18:01] so you'll have to get internets on your server and apt-get install openssh-server [18:01] and list their contents [18:01] eek [18:01] isnt it supposed to be installed by default? [18:01] magespawn: not the server [18:01] the client is [18:03] Squirm, i can copy openssh-server from here to flash and then take it there [18:03] i thought the server was installed by default in ubuntu server [18:03] Kilos: ig you have the deb [18:03] s/ig/if [18:03] and it's dependencies [18:03] magespawn: Kilos said there was a checkbox he did check. didn't seem to work [18:04] i have it installed here so .deb must be in archives but dunno what dependancies [18:04] Kilos: maybe it's on the ubuntu server cd? [18:04] strange [18:04] ok cd is in [18:05] now the media route again [18:05] http://packages.ubuntu.com/quantal/openssh-server is a list of dependencies [18:05] whew [18:05] never tried copying the files though [18:05] is there a way to tell it to install from cd? [18:07] yes [18:07] a line needs to be added to /etc/apt/sources,list [18:07] but it's to find out exactly what [18:08] hi Squirm :p [18:08] eek [18:08] hello smile2013 [18:08] hi Kilos :) [18:08] and no gedit on the server [18:08] hi smile2013 [18:08] Squirm: what are you trying? :) [18:08] Kilos: nano [18:10] Kilos: on the server, nano /etc/apt/sources.list [18:10] is there a commented out line that starts with cdrom ? [18:10] starts with something like: deb cdrom: [18:13] uncomment it [18:13] #deb cdrom [ubuntu-server 12.04.1 LTS bla bla [18:14] then apt-get update [18:14] yes [18:14] take away the # [18:14] then apt-get update [18:14] how [18:14] then apt-get install openssh-server [18:14] scroll to it with your cursor [18:14] ah [18:14] click backspace/delete [18:14] ctrl + o [18:14] ctrl + x [18:14] there are 2 of them [18:14] o saves, x exits [18:15] maybe just uncomment both [18:15] the update, then install [18:15] ok [18:15] I'll be back in 10. sorry [18:15] np [18:16] gives me a chance [18:21] ign cdrom 7 times [18:22] then it tried to go online again [18:22] grrr [18:23] yay its installing from cd [18:23] Kilos: :DD [18:23] yooohoooo [18:23] * smile2013 installed mac os x a while ago [18:24] it's slow :o [18:24] But I don't like it [18:24] :p [18:24] try running ubuntu-server [18:24] its fast [18:24] but not pretty [18:24] all text mode [18:25] Lol, I need xcode for mac :p doesn't run on ubuntu [18:25] yaay, os x is now running full screen [18:25] :) [18:29] making progress Kilos? [18:29] ssh miles@127.0.0.1 from server did the fingerprint thing [18:29] and shows 1 user logged in [18:30] that would be you Kilos [18:30] i would hope so magespawn [18:31] now i should see it from here not so? [18:31] so now do i ssh miles@192.168.1.2 from here? [18:32] it shows that as its ip addy [18:34] yes [18:35] sorry got disconnected [18:35] np [18:35] yes that should work [18:37] and? [18:37] shows the same info as the server did [18:38] also did the fingerprint thing [18:38] that should be it then [18:39] so now if i apt-get update here will it do the server [18:39] ? [18:39] the fingerprint is so that you know you are connecting to the right machine [18:40] is your internet connection shared? [18:40] well i could ping 8.8.8.8 from there but power been off since then [18:41] aw cant any more [18:41] try something like www.google.co.za [18:42] i think i need to give it a command [18:42] sudo route add default gw 192.168.1.1 [18:43] nope it forgot how [18:43] i think you can also ifconfig gw 192.168.1.1 [18:43] grrr [18:44] but check ifconfig man to make sure [18:44] Why does gravity push down to earth ? [18:45] hi Wraz it pulls [18:45] hi Wraz it sucks from down here [18:45] Hello magespawn, but why does it pull ? [18:45] you mean why do we have gravity? [18:45] i think its to do with the spin of the earth [18:46] and the size of the planet [18:46] no, like what attact,s its not magnetisim or someother force. [18:46] It is some kind of wierd attraction [18:47] but then why am i not attracted to the ceiling or the walls. [18:47] lol [18:47] I would think it is centrifical force from the spinning earth, but the earth is round, so rthat does not make sense. [18:47] because gravity is sucking you down too [18:48] So if I made a Vaccume chamber, and but a big Iron ball with lots of polystyrene bit's maybe they will all stick to the ball [18:49] if i can recall correctly it pulls towards the center of the mass creating the gravity [18:49] Like a mass osmosis [18:49] that is garvity :P [18:49] if you spin water in a round dish with rice grains in they go to the centre [18:49] That is interesting... thanks Kilos :) [18:49] ill try it [18:50] doesn't it have to do with the mass and density? [18:50] everything has a gravitational pull [18:50] now with the earth being round it tries to pull everything to the centre [18:50] but smaller objects of course have a weaker pull, so it's not noticeable [18:51] Wraz, http://wiki.answers.com/Q/How_does_gravity_keep_us_on_the_ground [18:52] nice to see you chatting Wraz welcome to ubuntu-za [18:53] Ta ;) [18:53] Kilos is it working? [18:53] nope the ifconfig command said no such device [18:54] i think somehow my ip isnt 192.168.1.1 anymore [18:54] cat /etc/resolv.conf [18:54] just do ifconfig [18:54] gives [18:55] # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) [18:55] # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN [18:55] nameserver 127.0.0.1 [18:56] good evening [18:56] Kilos: what are you trying to do? edit your dns servers? [18:56] is that ifconfig Kilos? [18:56] hey charl_ [18:56] hi magespawn :) [18:56] ipconfig(doze) Ifconfig(nix) if it says no such device maybe you only have LO(loopback device 127.0.0.1) enabled and it does not have drivers for your network card instaleld so you cannot ping out or ifconfig ? [18:56] no that was that cat command magespawn [18:57] try ifconfig [18:57] "ifconfig" [18:57] Network Interface configuration. [18:58] i cant pastebin that output [18:58] maybe i should install a gui from my ubuntu cd [18:58] or webmin [18:58] or SSH [18:59] im using ssh' [18:59] why can't you pastebin the output ? [19:00] route -n shows 192.168.1.1 as the gateway [19:00] its all in testmode [19:00] and cant get to the internet via the 3g on this pc [19:01] can you "ping 192.168.1.1" ? [19:01] yip [19:01] sweet, you can see your gateway. [19:02] and i can ping 192.168.1.2 from here [19:02] can you traceroute to a internet address ? [19:02] sec ill try it [19:03] aw traceroute isnt installed [19:04] One possible problem could be that it Might just be your DNS is not setup to resolve internet addresses. and if you use like openDNS ip'addresses, you might get net. [19:04] Kilos just for the record where are you typing those commands? [19:05] SSH, i understand, to his ubuntu box. from internal network ? [19:05] the ping ones [19:05] ? [19:05] ping ones ? [19:05] im trying to ping google from the server [19:06] and tried traceroute from there too [19:06] can you ping google's Ip address ? [19:06] nope [19:06] so no internet traffic to the server then [19:07] Try (to configure to) use these two adrresse's for the Server's DNS addresses http://www.opendns.com/opendns-ip-addresses [19:07] 208.67.222.222 - 208.67.220.220 === Trixar_za is now known as Trix[a]r_za [19:09] yoohoo [19:09] can ping 8.8.8.8 again [19:09] iptables -A INPUT -m state --state NEW ! -i ppp+ -j ACCEPT [19:10] iptables -t nat -A POSTROUTING -o ppp+ -j MASQUERADE [19:10] echo 1 > /proc/sys/net/ipv4/ip_forward [19:10] Wraz, magespawn: as I previously diagnosed, Kilos's problem is that he does not have DNS set up properly. both machines need to have 8.8.8.8 and 8.8.4.4 set as their DNS servers in resolv.conf [19:10] those commands need to be run here every boot [19:11] ah cool superfly [19:11] Kilos: why? UFW or Arno's (which ever one you might be using) do that for you already [19:11] they both purged superfly [19:11] Kilos: why? [19:12] member i couldnt ping here till i got rid of them [19:12] Kilos: because you went chasing after some other problem and thought that it was one of those? [19:12] ya well i dunno what im doing here most of the time [19:12] this is all greek to me about [19:13] Kilos: you jump too soon [19:13] but i still dunno how to fix that cat resolve thing [19:13] superfly any specific reason why those addresses for dns? [19:13] magespawn: Google DNS [19:13] ahh i did not know that [19:14] when Kilos said google i thought their main ip/s [19:14] fly told me ping 8.8.8.8 months ago and said its goolge [19:14] i forgot the dns bit [19:14] * magespawn has a small lit light bulb above his head [19:15] lol for? [19:15] why they fly told you those particular ip addresses [19:16] oh [19:16] tell me too [19:16] DNS stands for domain name server [19:16] sorry Wraz you need to know im kinda slow catching on [19:16] ya but i can ping 8.8.8.8 but cant update [19:17] they take the name like www.google.co.za and tell your pc where to go to find it [19:17] oh so must i put 8.8.8.8 in somewhere? [19:18] they resolve www.google.co.za to 165.165.38.27 [19:18] Kilos: yes, in your resolv.conf [19:18] in placve of that other ip superfly ? [19:18] place too [19:19] Kilos: yes [19:19] in essence [19:19] Kilos: how do you set your IP address? [19:19] Kilos: using NM? [19:19] yessir [19:19] then use NM to set your DNS servers (name servers) [19:20] thats how i set this one. the server i made 192.168.1.2 while installing [19:21] Kilos: so which machine dials up? [19:22] this one 192.168.1.1 [19:23] Kilos: OK, is this the one that can't update? [19:23] ok set dns to 8.8.8.8 [19:23] yessir [19:23] no [19:23] ya, OK [19:23] this one can [19:23] 192.168.1.2 cant [19:23] of course, cause its DNS is set when you dial up [19:24] Kilos: when you say "server", do you mean, "it doesn't have a GUI"? [19:24] yeah [19:24] all cli [19:24] whew [19:24] OK [19:24] but this one is acting as a server isnt it to let that one go to the net [19:25] in nm must i type in something by search domains as well [19:25] or just by dns [19:26] dns servers [19:28] just dns [19:28] Kilos: stop before you confuse yourself with scenarios that don't exist [19:28] ok [19:29] superfly i have a question for after this is sorted [19:31] Kilos: cat /etc/network/interfaces [19:31] Kilos: on your server [19:31] auto lo [19:31] iface lo inet loopback [19:31] oh [19:32] cat command not found [19:33] on your server? [19:34] eek how do i paste that [19:34] byee :p [19:34] cheers smile2013 [19:34] address 192.168.1.2 [19:34] Kilos: netmask, gateway, etc? [19:34] see ya, magespawn :) [19:34] good night everyone [19:34] netmask 255.255,255,0 [19:35] gateway 192.168.1.1 [19:35] dns-nameservers 192.168.1.1 [19:36] dns search kilos.org [19:36] oh my [19:36] Kilos: OK, on that dns-nameservers I want you to replace 192.168.1.1 with "8.8.8.8 8.8.8.4" (without the quotes, but with a space between the 8.8.8.8 and the 8.8.8.4) [19:37] #dns options are implemented by the resolvconf package if installed [19:37] Kilos: OK, OK, OK, thats enough [19:38] how do i replace them on the cli [19:38] Kilos: use nano [19:38] sudo nano /etc/network/interfaces [19:38] good evening [19:38] ok [19:38] yo inetpro [19:39] hey inetpro [19:39] sjoe [19:39] you guys talk lots today!? [19:39] to much to read all that now [19:39] busy busy [19:40] by gateway superfly [19:40] sorry [19:40] didnt read properly [19:42] dns-nameservers 8.8.8.8 8.8.8.4 [19:43] ctrl o and ctrl x [19:43] and enter after ctrl o [19:43] whew inetpro you dont want me to install a gui on the server [19:46] Kilos: I see you're sorted on the ssh side [19:46] i think so Squirm [19:47] inetpro, you like to see me suffer hey [19:47] and I'm off to bed. 2 hours and a day in the sun. [19:47] ty for the help squirm [19:47] along with the fact I could still believe it's 30deg inside [19:47] sleep tight laddy [19:47] tomorrow 33 [19:48] 33°c [19:48] and back at the dam :) [19:48] whew [19:48] Kilos: with superfly you're in good hands [19:49] yeah thank heavens [19:49] but he is busy man he cant help me all the time [19:50] * inetpro just came to show a sign of life [19:50] and did you see we chatted to Wraz [19:50] tired and need to go sleep [19:50] sleep tight old man [19:50] thanks Kilos [19:50] lol [19:50] night inetpro [19:50] good night everyone [19:51] so now must i restart the ssh thing magespawn [19:52] ahhh can i plead the 5th on this one? [19:52] can still ping 8.8.8.8 but no further [19:52] rofl [19:52] i told you when you did yours to write it all down [19:53] mine is all dhcp through my router, so i get my dns from my isp [19:53] Goie Naand, eg gaan uit te dop. [19:53] sigh no fair [19:53] ek* [19:54] lekker slaap Wraz [19:54] haha [19:54] oh uit te dop [19:54] you go out so late [19:55] naand magtie [19:55] hi Kilos [19:58] Kilos: you need to restart your networking before it will take effect [19:58] pulling ethernet cable ok? [19:59] or with ssh restart [19:59] Kilos: no, sudo ifdown eth0 [19:59] ty [20:00] then sudo ifup eth0 [20:00] Kilos: but you need to do that directly on the box! [20:01] hmmm the box? [20:01] (and how would logging out of ssh do anything to the networking?) [20:01] is a bow a pc wihtout a gui [20:01] a box is a computer [20:02] they both are computers [20:02] sudo ifdown eth0 [20:04] ok that command doesnt work here but it did on the server box [20:04] hehe [20:11] and? [20:11] we are all waiting in suspense [20:11] whew [20:12] still nothing past ping 8.8.8.8 [20:12] ifdown dont work from here [20:13] ifdown: interface eth0 not configured [20:16] you only need to ssh from this pc magespawn or from both? [20:16] got some landscape message on rebooting server [20:17] yes that advertise landscape, you can ignore that [20:17] manage this system at https://landscape.canonical.com/ [20:17] that=they\ [20:17] lol i cant even get online [20:18] you ssh from your pc to the server [20:18] but if that ifdown message is on this machine the one connected to the internet [20:19] ifdown dont work here [20:20] nm shows it as eth0 but it says its not configured [20:20] sigh [20:20] then the cable connection is not working i would guess [20:20] they can ping each other [20:21] maybe a reboot here will wake it up [20:21] * Kilos waits to be bombed [20:21] okay i am confused [20:21] why [20:22] how can they ping if it is not configured? [20:22] maybe my nm is corrupt [20:22] servers ifdown works with eth1 [20:22] here neither work [20:23] you confused. come sit in my pants [20:23] did ifup again on the server? [20:24] just looked. a 3g router is R800 on olx [20:24] yip and it worked [20:25] im sure at some stage this nm showed as wired connection 1 not eth anything [20:25] now it shows eth0 but dont work [20:25] grrr [20:28] maybe i gotta add some info in routes in nm [20:29] i gonna reboot bb soon [20:29] okay Kilos [20:41] and Kilos? [20:41] Kilos: you have to run ifdown and ifup on the computer whose network card you are restarting [20:42] nope still cant ping www.google.com [20:44] miles@P4:~$ sudo ifup eth0 [20:44] Ignoring unknown interface eth0=eth0. [20:44] same with eth1 on this pc [20:48] sorry Kilos i think i am a little out of my depth here [20:49] np magespawn thanks for trying and helping too [20:50] True. [20:51] here be ifconfig from this pc [20:51] http://slexy.org/view/s21rFUSA1C [20:51] Wroung window, and i ahvent left yet :D [20:51] soz :D [20:51] lol [20:51] not yet Wraz [20:51] np [20:51] No Russians... [20:51] he is a night owl [20:52] and im falling asleep here [20:52] wrougn window again.. :D no, just in a different time zone. [20:52] where are you Wraz ? [20:53] London. [20:53] not too much difference then [20:54] 2 hours [20:54] yeah, only +1. but things here open later and stuff, prob to do with the saesons and days with longer days and more sunlight. [20:54] +2 sometimes [20:54] how did you get here and where you learned afrikaans [20:54] We are not on the equator like sunny old SA [20:54] lol [20:55] that output looks okay Kilos [20:55] I got here from Durban Linux User group forums. [20:55] ah [20:55] we even thought you were a bot for a while [20:55] hehe [20:56] Yeah, i was on freenode for #London-hackspace [20:57] but they are not really nice people there on that #, like a bunch of troller's, [20:57] but this # and ##Programming are nice. [20:57] hehe [20:57] you too [20:57] oops [20:58] lol youre tired [20:58] No, ia m about to go get drunk, it is just that Google chat on a multi window multi display is confusing. [20:59] guys i am off to bed, Kilos let me know how it goes [21:00] night magespawn [21:00] sleep tight [21:00] godd night [21:00] ive gotta crash too methinks [21:01] Goie Aand [21:01] night Wraz [21:02] night all sleep tight [21:11] since when was RSA on the equator?