**** BEGIN LOGGING AT Mon Dec 10 02:59:57 2007 Dec 10 05:41:47 morning Dec 10 08:17:05 hi Dec 10 09:18:50 hi BabelO Dec 10 12:48:01 hi Dec 10 20:33:34 silent today Dec 10 20:35:43 BabelO: ssssh keep quiet people are sleeping^H^H^H^H^H^H^H^Hworking in here Dec 10 20:35:45 hey Dec 10 20:35:55 I'm looking for the 4.2.2 greenphone SDK Dec 10 20:36:08 do I need to grabit via FTP @ ftp.qtopia.net? Dec 10 20:36:22 chouimat|work: lol, food time for me :) Dec 10 20:36:33 proxous: look at qtopia.net, wait i have the link somewhere Dec 10 20:36:37 proxous: why not use the 4.3 SDK instead? :) Dec 10 20:36:38 I did Dec 10 20:36:58 because I"m trying to loop net through the phone Dec 10 20:37:04 trying to follow what's on the wiki Dec 10 20:37:11 it'S ftp://ftp.trolltech.com or http://www.qtopia.net :) Dec 10 20:37:12 but isn't working for 4.2.4 Dec 10 20:37:21 so I figured I would try the older version Dec 10 20:37:28 unless someone knows how I can loop through? Dec 10 20:37:34 4.3 is worth a try :) Dec 10 20:37:38 k Dec 10 20:37:43 I didn't know 4.3 was out Dec 10 20:37:47 But I will give it a go Dec 10 20:38:11 hi, jott you are faster Dec 10 20:38:36 when did 4.3 come out? Dec 10 20:38:39 SDK? Dec 10 20:38:52 as for the network.. it's nothing greenphone specific to setup a nat/bridge :) Dec 10 20:39:26 1.11. according to qtopia.net Dec 10 20:39:49 or 1. nov :) Dec 10 20:40:22 hmm Dec 10 20:40:28 I was trying to follow this: Dec 10 20:40:47 http://greenphone-wiki.org/index.php/Surfing_on_the_net_with_greenphone_using_the_usb_connection Dec 10 20:40:59 but was getting errors when trying to run that script Dec 10 20:41:44 the errors were telling me that some of the flags for the iptables stuff was deprecated Dec 10 21:11:36 proxous: i had same problem than you with iptable ... what is your linux distrib ? Dec 10 21:12:02 BabelO, I'm on a windows box. :( Dec 10 21:12:27 BabelO, normally I roll with Ubuntu but I've had to use Windows this semester because I need it for school Dec 10 21:12:36 and I lack the harddrive space to dual boot Dec 10 21:12:36 ah :( i solve this issue by recompiling linux kernel Dec 10 21:12:54 hrm Dec 10 21:13:06 Ahh, so I'm suppose to be running that script outside of the VM? Dec 10 21:13:27 BabelO, ^ Dec 10 21:13:54 proxous: no, wait Dec 10 21:14:08 what is exactly your iptable message ? Dec 10 21:16:07 BabelO, I'm not in the VM right now Dec 10 21:16:14 BabelO, give me a minute to boot up Dec 10 21:23:07 BabelO, I am getting: iptables v1.3.3 unknown arg "state" Dec 10 21:27:09 proxous: i have another command line for you Dec 10 21:27:14 k Dec 10 21:28:13 echo 1 > /proc/sys/net/ipv4/ip_forward Dec 10 21:28:18 iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE Dec 10 21:28:45 you need to replace eth0 by card you see in ifconfig when nothing is plugged in Dec 10 21:29:20 BabelO, running ifconfig I have eth0 and eth4 Dec 10 21:29:27 eth4 has an IP, 10.10.10.21 Dec 10 21:29:34 I'm assuming that is the phone Dec 10 21:32:11 proxous: yes, eth0 is the card with network routed to 0.0.0.0 Dec 10 21:32:35 10.0.0.0/24 is the incoming network for NAT Dec 10 21:32:45 BabelO, hrm, I ran the above code with no errors Dec 10 21:32:53 so should that be eth4 instead of eth0? Dec 10 21:32:59 proxous: so it is good ;) Dec 10 21:33:12 BabelO, well that ran Dec 10 21:33:13 proxous: no you need to keep eth0 Dec 10 21:33:21 k Dec 10 21:33:41 you want to route all incoming traffic from gp to internet Dec 10 21:34:07 after that you need to check by telnet onto gp that your dns is setup properly Dec 10 21:34:15 BabelO, hrm Dec 10 21:34:34 BabelO, alright I did taht, then telneted in. Ran the ifconfig netmask and route commands Dec 10 21:34:42 but I try to ping yahoo.com and no go Dec 10 21:34:50 is that cause I still need to setup some more DNS stuff Dec 10 21:35:46 wait, can you check /etc/resolv.conf on gp ? Dec 10 21:36:30 BabelO, it's a symlink to /etc/resolvconf/ Dec 10 21:36:33 in that directory nothing is there Dec 10 21:36:50 proxous: on gp you need a route add default gw 10.0.0.21 Dec 10 21:37:28 BabelO, network unreachable Dec 10 21:37:44 BabelO, I did a route add default gw 10.10.10.21 before and it didn't complain Dec 10 21:37:46 proxous: hmm try to create a /etc/resolv.conf with your host settings, something like nameserver 212.27.54.252 Dec 10 21:38:19 wait i plug my gp and try like you Dec 10 21:38:29 k Dec 10 21:39:20 proxous: did you edit this line ? Dec 10 21:39:21 iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE Dec 10 21:39:23 by Dec 10 21:39:30 iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -o eth0 -j MASQUERADE Dec 10 21:39:56 nope, should I? Dec 10 21:40:20 wow ... Dec 10 21:42:38 proxous: ok it works like i say Dec 10 21:42:44 from the start Dec 10 21:42:47 BabelO, k Dec 10 21:42:51 plug your gp Dec 10 21:43:06 k Dec 10 21:43:13 then echo 1 > /proc/sys/net/ipv4/ip_forward Dec 10 21:43:25 iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -o eth0 -j MASQUERADE Dec 10 21:43:25 k Dec 10 21:43:46 after that ssh 10.10.10.20 Dec 10 21:44:12 k Dec 10 21:44:27 you are in gp now ? Dec 10 21:44:32 yep Dec 10 21:44:34 route del default Dec 10 21:44:47 route add default gw 10.10.10.21 Dec 10 21:45:08 k Dec 10 21:45:23 now get your dns adress from your windows host Dec 10 21:45:28 with ipconfig ;) Dec 10 21:45:41 then vi /etc/resolv.conf Dec 10 21:45:51 add nameserver Dec 10 21:45:57 save with :x Dec 10 21:46:04 and ping www.yahoo.com Dec 10 21:46:15 it works with gp 4.3.2 Dec 10 21:46:52 BabelO, now, what if my DNS is listed as 192.168.0.1, because I'm on a router on my windows machine Dec 10 21:47:11 keep it like this Dec 10 21:47:54 set my DNS to 192.168.0.1 then? on the GP? Dec 10 21:48:06 proxous yes Dec 10 21:48:10 k Dec 10 21:48:14 nameserver 192.168.0.1 Dec 10 21:49:02 hrm Dec 10 21:49:09 I ran the ping Dec 10 21:49:13 it's not erroring out Dec 10 21:49:16 but it's just sitting there Dec 10 21:49:23 ahh Dec 10 21:49:25 there is goes Dec 10 21:49:29 hostname lookup failure Dec 10 21:49:33 I can get my DNS from my router Dec 10 21:49:34 on the host what is your eth0 adress ? Dec 10 21:49:36 I will try that Dec 10 21:49:39 try to ping it Dec 10 21:50:19 ping eth0 in the vm? Dec 10 21:50:36 proxous: from the gp try to ping vm eth0 Dec 10 21:50:48 k Dec 10 21:51:30 BabelO, when I run ifconfig on the VM, eth0 doesn't have an IP address Dec 10 21:51:37 wait Dec 10 21:51:39 it does Dec 10 21:51:41 IPv6 Dec 10 21:52:30 is it possible to ping it? Dec 10 21:53:20 i think yes, but don't nknow more about ipv6, if you use konqueror in your VM it works ? Dec 10 21:53:46 yep Dec 10 21:54:12 BabelO, wait Dec 10 21:54:16 BabelO, no it doesn't Dec 10 21:54:21 BabelO, it normally does though Dec 10 21:54:23 BabelO, hrm Dec 10 21:54:35 try to fix that, and it should work Dec 10 21:55:01 BabelO, alright, I'll reboot the VM, do all the stuff from scratch Dec 10 21:55:04 and see if I can get it working Dec 10 21:55:07 give me a few Dec 10 21:55:15 ok Dec 10 22:01:46 BabelO, hrm, rebooting the VM didn't fix it. Dec 10 22:02:14 proxous: you can't use internet in vm ? Dec 10 22:02:38 BabelO, no, not sure why now, because I've used it before to grab some libraries ands tuff I needed Dec 10 22:02:52 my vmplayer is set to use NAT Dec 10 22:03:44 i hope it is not your windows firewall Dec 10 22:04:04 firewall = off Dec 10 22:19:09 BabelO, any ideas? Dec 10 22:20:27 proxous: not really, try to run vmware-config again Dec 10 22:23:05 BabelO, I just checked the net config Dec 10 22:23:11 NAT service wasnt' running Dec 10 22:23:17 maybe because I was running skype Dec 10 22:23:34 killed skype and goign to reboot it Dec 10 22:25:51 BabelO, that was it Dec 10 22:26:00 good ;) Dec 10 22:26:00 now I"m going to try to get the phone working Dec 10 22:26:07 stupid skype Dec 10 22:26:09 it's done that before Dec 10 22:26:17 when I was trying to run apache on my machine Dec 10 22:26:26 it kept dying and I didn't know why Dec 10 22:34:06 BabelO, we have a connection! Dec 10 22:34:26 BabelO, awesome thanks man, seriously thanks for all the help. I have been poking at this for a few weeks now trying to figure it out Dec 10 22:34:48 proxous: so network works now ? Dec 10 22:34:56 BabelO, yep. ;-) Dec 10 22:35:03 pinging out from the greenphone Dec 10 22:35:10 good, it is not the wiki way... but works too Dec 10 22:35:17 I'll update that wiki Dec 10 22:35:20 it is just a little more insecure Dec 10 22:35:31 just in case someone runs into the same issues **** ENDING LOGGING AT Tue Dec 11 02:59:57 2007