=== Trix[a]r_za is now known as Trixar_za [05:09] morning geek types [05:10] Symmetria, http://i.nl03.net/ltr4/?_m=0a.06zv.6sm4.nx08k6plhd.0&pg=prd&qf=lw [06:32] bbl. And since I keep telling everybody this, here's a taught for the day. Did you know that "I" is an one letter recursive palindrome and "EVE" is a one word recursive palindrome? And that I'm making this stuff up while sleep deprived? :P [06:32] lol === Trixar_za is now known as Trix[a]r_za [06:33] wb Trix[a]r_za [07:27] http://www.gadmintools.org/ [07:27] what kinda admin permissions does one need to go see there [07:47] morning [07:48] hi Squirm [08:09] I think I'm hanging a little [08:09] how are you Kilos ? [08:09] ok ty Squirm and you? [08:09] not bad. just tired [08:09] whew [08:09] again [08:10] still [08:12] ^^ [08:29] so what are you doing this fine Saturday Kilos ? [08:39] trying to get a second pc to use this same 3g connection Squirm [08:39] they wired [08:40] been trying the adhock thing but it no easy [08:41] connecting two pcs is the easy part. I could never ger sharing working [08:42] haha i have googled me sick [08:42] i will get it by hook or by crook [08:42] even trying to set one up as a server [08:42] using gadmin [08:43] did you get the pcs connected? [08:43] ya thats not too bad [08:43] they ping each other [08:44] ok [08:45] idk [08:45] I've tried with a bunch of iptables rules I've found [08:45] but no luck [08:45] lol i tried one as well just now [08:45] looked easy but didnt work [08:46] http://askubuntu.com/questions/104264/mobile-broadband-sharing-over-adhoc-wireless [08:50] yep [08:50] hehe [08:51] most of the info is about wireless though [08:51] http://www.howtogeek.com/116409/how-to-turn-your-ubuntu-laptop-into-a-wireless-access-point/ [08:52] grr [08:58] Squirm, read this http://www.makeuseof.com/tag/how-to-easily-share-your-wireless-connection-in-ubuntu-9-10/ [08:59] if it can work wireless one must be able to make it work 3g too [09:00] 3g should give you that option then? [09:17] in the mobile broadband there isnt an option to share [09:17] grrr [09:19] if i can just find where/how to connect wired and 3g i will do a back flip [09:19] maybe will try add a network card on this pc too and not use the built in one [09:21] I really don't know. I'ts stumped me before [09:22] lol [09:25] boredom [09:30] you got nothing to do Squirm ? [09:55] hi psydroid [09:55] hi Kilos [09:55] I am the unity disabler [10:28] dammit :( someone damaged my car :( [10:28] noticed this morning there are scratches and a nice dent in my front bumper [10:28] * Symmetria thinks insurance is *NOT* going to be happy about that one [10:52] ouch [10:52] where were you last night [10:54] heh out at a pub :P and I wasnt drinking :p [10:54] so it wasnt me [10:55] lol, the only way to repair that issue though is a complete front bumper replacement, lol, insurance is gonna hate me :p [10:56] hey you a networking man [10:56] how do i share 2 wired pcs on one 3g connection [10:57] dont sat google it [10:57] been doing that for 3 days [10:57] heh under linux? [10:57] ya [10:58] honestly aint tried to share anything under linux or do NAT on it in *YEARS* so cant help ya there mate [10:58] I use junos for that type of thing [10:58] whats junos [10:59] old times were easier i think. one could solder some wires in the right places [10:59] juniper's operating system :) [10:59] oh no i dont wanna scrap buntu [11:00] hehe you couldnt scrap ubuntu, you'd need a dedicated machine :) [11:00] lol, I was just giving you the reason why I aint done it in linux in so long I cant remeber how to do it in linux :p [11:00] as a server? [11:00] wasnt saying it was a very practical solution I use for most people [11:00] heh kilos no, as a router [11:00] you make a whole pc the router? [11:00] junos is meant for routers, and thats all its meant for :) [11:00] ah [11:01] kilos actually I have 9 pcs as routers for lab purposes [11:01] and one of them is a vmware instance running 8 seperate routing instances [11:01] maybe i can find something to install here to make one a router [11:01] brb :) [11:09] Kilos: can't one do internet connection sharing with network manager? [11:10] Kerbero, the mobile broadband section has no shring goodie [11:10] sharing [11:10] :( [11:10] ya [11:10] ok well [11:11] that's going to make it a little more tricky [11:11] but i'll summarize in a few steps what needs to be done [11:11] then you know what to google for [11:11] from what i read one has to make an adhoc connection between wired and ppp0 [11:11] 1. enable ipv4 forwarding/routing in sysctl.conf [11:11] ok ty [11:12] 2. install iptables, add a iptables rule to masquerade / NAT all outgoing stuff on the ppp0 interface [11:12] 3. run a dhcp server on eth0 or force ip's, gateway adress, etc [11:12] that's about it [11:13] ok ty ill see what i can find === Trix[a]r_za is now known as Trixar_za === Trixar_za is now known as Trix[a]r_za [15:25] yo superfly [15:25] hi kli [15:26] you look new here [15:26] hi there [15:26] yes iam [15:26] welcome to ubuntu-za [15:27] thanks,uhm Iam a new ubuntu user and python programmer, so I kinda need help [15:27] we got python experts here [15:27] what help you need kli [15:28] ok great.... [15:28] you might have to wait a while. sats are quiet till later [15:29] I was trying to install Django and everything seems to be installed well, but when I try to run the 'django-admin.py' it says the command is not found [15:29] does it say you havent got permission [15:29] oh ayt I don't mind waiting,I've been waiting and been frustrated for the past two days lol [15:30] no,it doesn't mention the part about permission [15:30] did you try running it with sudo? [15:31] as root as they say [15:32] you mean when I installed it? yes I ran it as sudo [15:32] to run it now [15:33] i dunno how you start it. all programming i can do is the microwave to cook food [15:33] do you start it from the terminal? [15:35] yes I run, sudo django-admin.py in the terminal and it says : django-admin.py: command not found [15:35] oh my [15:35] don't you need to ./django-admin.py [15:35] or [15:35] python django-admin.py [15:38] when I import django in python,I think it shows that its there coz I can even check the django version I have(1.4.1). when I just run the 'python django-admin.py' command,it returns this: python:can't open file 'django-admin.py':[Errno 2] No such file or directory [15:42] or haven't I installed it properly? [15:42] kli, you here with your browser? [15:43] install xchat [15:43] how did you install. do you have aptitude [15:44] I'm using my phone in this chat now [15:45] you have the pc there by you? [15:45] I followed some instructions online to install it via Pip [15:45] yes the pc is here [15:45] try sudo apt-get install aptitude [15:46] then sudo aptitude reinstall "package" [15:48] or you can use the software centre. i installed synaptic because it shows the packages you have installed and whats available [15:48] next have you run sudo apt-get update since installing [15:48] or run update manager [15:50] ok I will run it [15:51] do I need to remove django that I had already installed or I just follow these instructions? [15:51] first run sudo apt-get update [15:52] the sudo apt-get upgrade [15:52] leave django for now [15:52] aptitude should fix it [15:54] oh ok... [16:00] hi magespawn [16:04] hey magespawn ? [16:04] busy with fish [16:06] whats happening kli [16:06] -_- Django is horrible [16:07] help him superfly [16:07] Kilos: I steer clear of Django, I can't help him [16:07] i mean help him to go the right way superfly [16:08] he is new to ubuntu and maybe puthon too [16:08] python [16:08] big snake [16:17] hello everyone~ [16:17] hi Cantide [16:17] ^^ [16:17] i tried studying... but alas [16:17] what? [16:17] still 2 more days of the weekend anyhow '-' [16:18] lol [16:18] what are you up to? [16:18] resting head [16:18] ip things give me headache [16:20] aah [16:20] why doesn't Ubuntu tell you your IP address? [16:20] i have no idea where to look for mine [16:21] im trying to get 2 wired pcs to use one 3g connection [16:22] ip address shows in info on network manager [16:22] hmm [16:22] terminal [16:22] aha [16:22] got it [16:22] type "ip addr" [16:23] cool :) [16:23] thanks, Kilos, Kerbero :) [16:23] Kerbero, i cant install iptables [16:23] havent got it [16:23] artables or something [16:23] i normally install webmin [16:24] and let it sort out its dependecies on its own [16:24] ah ok ill try that [16:24] http://webmin.com/ [16:24] it is not in the repo's [16:24] aw [16:24] but get the debian package from the website [16:24] the pro fights me when i use stuff not in the repos [16:25] haha [16:25] it is better not to [16:25] hehe [16:25] but some times it is the choice between the easy and difficult path [16:26] Kilos: did you find a tutorial online explaining the steps i gave you in more detail? [16:26] what tutorial [16:27] any [16:27] i tried to go to edit that sys file [16:28] but dont have same one [16:28] mine is conf.d [16:28] then no iptables [16:29] sysctl.conf.d [16:29] and im scared to fiddle with stuff i dont know or understand or the pro fights me [16:30] ye [16:30] inetpro, comment on http://webmin.com/ please [16:30] thats why i said: [16:30] [13:11] that's going to make it a little more tricky [16:31] lol [16:38] kli, what happened? [16:38] webmin is a security risk [16:38] ty superfly [16:39] there's a reason it was removed from the repos [17:09] lol I love some of the things I see in peoples .bash_history files on machines I run [17:09] lol, especially when you see a long list of attempts to get rid of the history file that have failed :p [17:15] found in some dudes history file: [17:15] rm ~/.bash_history [17:15] ls -l ~/.bash_history [17:15] echo . > ~/.bash_history [17:15] cat ~/.bash_history [17:15] rm -rf ~/.bash_history [17:15] lol [17:16] then he logged out and hasnt logged in since [17:38] Howdy all [17:39] hey again magespawn [17:39] sorry i thought i had marked myself as away [17:39] lol np [17:40] heh I love the chattr command :P [17:40] and Im always amazed at how few people bother to actually use the functionality in it [17:40] the ability to make sure users can only append to files, and cant delete them etc, while still being able to write to them is well useful [17:44] hi magespawn [17:45] hey superfly [17:45] Kilos did you get the sharing working? [17:46] nope magespawn [17:46] Kilos: you need iptables, but it should be installed by default [17:47] wow it was but doesnt even show in synaptic [17:48] tried aptitude reinstall [17:49] Symmetria: you ever work with RouterOS from Mikrotek? [17:50] would they have changed the package/program name superfly? [17:53] dunno [17:54] superfly, now do i follow something like this [17:54] http://www.ibiblio.org/pub/linux/docs/howto/other-formats/html_single/Masquerading-Simple-HOWTO.html [17:56] maybe this one [17:56] http://www.ibiblio.org/pub/linux/docs/howto/other-formats/html_single/Masquerading-Simple-HOWTO.html [17:58] haha [17:58] Don't worry about understanding everything here now, but remember to come back and look at this list [17:59] magespawn: what do you want to do with the mikrotik? [18:00] i am looking into setting up a wifi network with internet access fro tourists in hluhluwe [18:00] well routeros has a lot of tutorials online [18:00] find one that is roughly what you want to do [18:01] try it [18:01] and then ask if you need a custom change to it [18:01] i might be able to help if it is not too complex [18:02] i just wanted to set each base station ie guest house on its own vlan so that i watch the traffic coming from each one [18:03] you can also apparently download it and run on a machine to test it [18:09] doing a whole load of reading but there is a lot on new stuff there for me [18:09] yep [18:10] little learning curve [18:11] just a bit [18:11] also do not want to make the wrong choice money for the project is a bit limited [18:12] well mikrotik was not a bad choice [18:12] the company i contacted for the equipment has been helpful too [18:14] awesome to learn new things [18:17] Kerbero, do i just delete the hash in this line? [18:17] # Uncomment the next line to enable packet forwarding for IPv4 [18:17] #net.ipv4.ip_forward=1 [18:17] yes [18:17] the hash next to net [18:17] yes [18:17] you did sudo to open the file? [18:17] just delete it or add a space in its place? [18:18] sudo gedit [18:18] just delete it [18:18] ok [18:18] ok ty is it only that one line [18:18] after that save, exit and let me know [18:18] yes [18:18] only that line [18:18] whew [18:19] done? [18:19] yes [18:19] ok in a terminal type [18:19] sudo sysctl -p /etc/sysctl.conf [18:19] it is just to apply that change now [18:20] without a reboot [18:20] it shows that line [18:20] good [18:21] this i dont understand at all [18:21] add a iptables rule to masquerade / NAT all outgoing stuff on the ppp0 interface [18:22] i understand the ppp0 interface [18:22] can't explain now [18:22] maybe a little later [18:22] ok [18:34] iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT [18:34] Bad argument `ppp0' [18:34] sigh [18:37] what is the recommeded/best vpn software? [18:40] if ppp0 has gone away, that won't woork [18:40] I suggest using ppp+, which matches all ppp interfaces [18:41] ty tumbleweed ill try that [18:42] Bad argument `ppp+' [18:43] must i do this with the modem disconnected? [18:43] no, shouldn't matter [18:43] ah [18:43] the ! must go before -i [18:44] iptables -A INPUT -m state --state NEW ! -i ppp+ -j ACCEPT [18:44] like that tumbleweed [18:46] yay accepted [18:46] hmm [18:46] but that rule is in table "INPUT" right? [18:46] so it only says yes or no for incoming packets [18:46] like a normal firewall [18:47] and the default is accept, so just that rule should do nothing [18:47] he needs a rule in the NAT table [18:47] to masquerade all outgoing on ppp0 [18:47] http://www.ibiblio.org/pub/linux/docs/howto/other-formats/html_single/Masquerading-Simple-HOWTO.html [18:48] im following that Kerbero [18:48] iptables -t nat -A POSTROUTING -o ppp+ -j MASQUERADE [18:48] ahh yes [18:48] Kilos: do that ^ [18:49] Kilos: that tutorial do a lot of stuff which i don't think is necessary for you [18:49] done [18:49] oh [18:49] lol i only had 2 more commands to enter [18:50] just do that iptables -t nat -L so we can see [18:52] http://slexy.org/view/s20zABN6fd [18:52] seems ok [18:53] and [18:53] iptables -L [18:53] ok so now i try ping google from other pc right? [18:54] well, you did not set up any dhcp server right? [18:55] http://slexy.org/view/s2PLOmPGfM [18:55] that looks good too [18:56] no i have dhcp-server installed but nothing setup as yet [18:56] ok [18:56] are the two computers connected to each other by network cable? [18:56] yessir [18:56] ok [18:56] they can ping each other [18:57] do you know if they have ip addresses assigned yet? ie, can they communicate with eachother? [18:57] ahhh [18:57] ping is good [18:57] yes this one is 10.42.0.1 and other is 10.42.0.2 [18:57] ok [18:58] the computer with the 3g is .1? [18:58] yes [18:58] and you assigned those ip's by hand? [18:58] they both had same ip so i changed the other to .2 [18:58] o [18:58] ok [18:59] you used network manager to change the ip? [18:59] yes [18:59] ok [18:59] go there again [18:59] there are three columns [18:59] on the .2 computer [18:59] first column is that ip [18:59] second colum is 24 [19:00] what is in the third column? [19:01] gateway? [19:01] yes [19:01] nothing [19:01] make it the .1 ip [19:01] of the other computer [19:01] this nm is set to share [19:02] on the .2 computer it should not be set to share [19:02] that one is manual [19:02] good [19:03] on the .2 computer the gateway should be the .1 computer [19:03] ok so i put 10.42.0.1 in there [19:03] yes [19:04] done [19:04] after you changed that applied/closed network manager [19:04] replug the network cable [19:04] and dial the 3g on your .1 computer [19:06] hmm how do i do that [19:06] in nm it doesnt show broadban [19:06] how do you normally open 3g on the computer? [19:06] o [19:06] i click 8ta [19:07] so can you do it now? [19:08] it i open .2 nm edit connections it shows 8ta setup in there but doesnt give the option to start it [19:08] nono [19:08] on the .1 computer [19:08] click on 8ta there [19:08] it is connected [19:08] ahh [19:08] cool [19:08] and your internet on your .1 computer works? [19:08] because you are here... [19:09] hehe [19:09] ok, well, go and test the internet on your other computer [19:09] hehe if i tick it here it disconnects and reconnects [19:09] ok i go see [19:10] you don't have to touch 8ta again if the internet is already on on the .1 computer [19:11] .2 doesnt connect [19:11] uhm [19:12] so you can't access google on the .2 computer? [19:12] nope [19:12] debugging :( [19:12] hmm [19:13] but they can still ping each other [19:13] first thing to change is: change .1 computer to manual [19:13] making the ip the same as it was [19:13] subnet 24 [19:13] gateway its own ip [19:14] subnet? netmask [19:14] first column: ip [19:14] second column: subnet [19:14] lol [19:14] yes [19:15] sorry [19:15] i meant netmask [19:15] whew [19:16] done [19:17] ok [19:17] check if they can ping eachother still [19:18] they can [19:18] ok [19:18] bhut no google there [19:18] ok [19:19] on the .2 computer [19:19] type [19:19] tracepath www.google.com [19:19] unknown host [19:20] ahh [19:20] and firefox dont open [19:21] ok [19:21] type in a terminal on the .2 computer [19:21] nslookup www.google.com [19:21] give me that output [19:21] and then after that [19:22] nslookup www.google.com 10.42.0.1 [19:22] sec i type slow [19:23] server 127.0.0.1 [19:23] address 127.0.0.1#53 [19:24] ** server cant find www.google.com REFUSED [19:24] hehe [19:24] ok [19:24] hard without copy/paste [19:24] sorry for the lot of typework [19:24] np [19:25] im just slow [19:26] so with that second command, dus it also give an error, or does it reply with an ip address? [19:28] what i typed above was the output [19:28] all of it [19:28] for the command "nslookup www.google.com 10.42.0.1" too? [19:28] no wait [19:28] i left out the ip [19:28] sorry [19:29] :) [19:32] miles@op4:~$ nslookup www.google.com 10.42.0.1 [19:32] Server: 10.42.0.1 [19:32] Address: 10.42.0.1#53 [19:32] Non-authoritative answer: [19:32] Name: www.google.com [19:32] Address: 173.194.41.178 [19:32] Name: www.google.com [19:32] Address: 173.194.41.176 [19:32] Name: www.google.com [19:32] Address: 173.194.41.177 [19:32] Name: www.google.com [19:32] awesome [19:32] Address: 173.194.41.179 [19:32] Name: www.google.com [19:32] Address: 173.194.41.180 [19:32] lol saved to a stick , brought here and copy/pasted [19:32] was not necessary [19:32] just wanted to know if you get an ip or not [19:33] how else you gonna see it [19:33] but this is good news [19:33] ok [19:33] ah [19:33] so, go to network manager on .2 [19:33] and below the forced ip entry [19:33] there is a dns servers block [19:33] add "10.42.0.1" in that block [19:34] save... [19:34] and replug cable [19:34] and test the internet on .2 [19:35] must i tick the require ipv4 addressing for this pc block [19:35] hmm [19:35] yes [19:35] on this pc as well? [19:36] does not really matter [19:36] but it is better to do it in your case [19:36] ok i pull plug now [19:40] Kilos-: how does it look? [19:42] that's not good [19:42] Kerbero: is he not just changing it over? [19:42] no [19:42] the 3g should remain connected [19:43] ie, his irc should stay connected [19:44] i thought he had to switch the 3G to the other machine [19:45] i hope he is not trying to move the 3g modem to the other machine [19:45] because the entire setup assumes it remains where it was op till now [19:45] wow [19:45] o [19:45] wow what? [19:45] it disconnected xchat and couldnt get back [19:46] had to unplug cable [19:46] o [19:46] lemme plug it in again and see [19:47] does not look good [19:49] nope [19:49] ai [19:49] it kills xchat [19:49] ya ai [19:49] op die rekenaar wat jy nou is [19:49] what did we do [19:49] die een met xchat [19:49] tik in 'n terminal [19:49] ip route [19:49] ja [19:50] en gee vir my die output erens online [19:50] eintlik meot ek dit he^ met die kabel ingeplug [19:50] default via 10.64.64.64 dev ppp0 proto static [19:50] 10.64.64.64 dev ppp0 proto kernel scope link src 41.151.152.160 [19:51] o met dit in [19:51] daai is met die kabel uitgeplug [19:51] ok [19:51] ek dink ek weet wat hier gebeur [19:51] wil jy na my kanaal gaan dan spam ek nie hier nie [19:51] ok [19:51] ##kilos [19:52] this is an ubuntu problem so not really spam === Trix[a]r_za is now known as Trixar_za [20:21] yooohooo i got 2 pcs using 1 3g connection [20:23] * Kerbero still wanted to tell Symmetria about his IPv6 setup [20:24] ok, slaaptyd [20:24] nag mense [20:24] night Kerbero ty again [20:27] goodness me look at the time [20:27] night everyone. sleep tight [20:27] night Kerbero [20:28] night Kilos [20:28] see you morrow magespawn [20:28] indeed [20:33] i am also off to bed. goog night all, ty Kerbero === Trixar_za is now known as Trix[a]r_za === Trix[a]r_za is now known as Trixar_za