| qi-bot | [commit] Xiangfu Liu: cgminer: disable auto detect since Icarus use default PL2303 configuration (master) http://qi-hw.com/p/openwrt-packages/d3ed780 | 03:34 |
|---|---|---|
| piey | scp to nanonote gives 'No route to host' | 11:03 |
| piey | I should also add that ubuntu keeps popping up with "Wired Network disconnected" | 11:06 |
| wolfspraul | sorry don't know | 11:16 |
| wolfspraul | my ben is often wired over the notebook and it's stable | 11:16 |
| piey | hmm | 11:18 |
| piey | Is it normal I get "Error: No xburst device found" when I type usbboot and my ben isn't in usbboot mode? | 11:21 |
| jow_laptop | yes | 11:22 |
| piey | ok thanks | 11:24 |
| C-Keen | at least I need to set the route explicitly | 11:24 |
| piey | C-Keen: how would I do that? | 11:26 |
| C-Keen | piey are you aware of. http://en.qi-hardware.com/wiki/Ethernet_over_USB | 11:27 |
| piey | I'm not connecting over ethernet (wireless), does that matter? | 11:29 |
| C-Keen | piey: does your nanonotes network interface get an IP adress? | 11:30 |
| C-Keen | can you ping it? | 11:30 |
| piey | Yep. | 11:31 |
| piey | I can ping it. | 11:31 |
| C-Keen | and scp'ing from your host to the nanonote does not work? | 11:31 |
| piey | yeah | 11:32 |
| C-Keen | how far does it get when you add a -v to the scp call? | 11:32 |
| whitequark | GNUtoo-desktop: object code ? | 11:33 |
| piey | it stops at ssh | 11:34 |
| piey | debug1: Connecting to 192.168.1.100 port 22 | 11:34 |
| piey | debug1: Connecting to address 192.168.1.100 port 22: connection refused | 11:34 |
| C-Keen | piey: does an sshd run on the nanonote? | 11:34 |
| GNUtoo-desktop | whitequark, like compiled C or C++ code | 11:34 |
| GNUtoo-desktop | for instance for arm | 11:35 |
| piey | C-Keen: I don't think so | 11:35 |
| C-Keen | piey: that would explain why it does not work | 11:35 |
| piey | ps doesn't list sshd | 11:35 |
| C-Keen | does it list dropbear? | 11:36 |
| piey | uuh, I don't think I'm using ps correctlu, I see 3 processes | 11:37 |
| C-Keen | ps ax | 11:37 |
| GNUtoo-desktop | ps -w | 11:37 |
| GNUtoo-desktop | if using busybox | 11:37 |
| piey | Sorry that I'm such a noob, but ps ax lists more than the screen | 11:38 |
| C-Keen | ps ax | grep drop | 11:38 |
| piey | drop is running | 11:39 |
| piey | dropbear* | 11:39 |
| C-Keen | hm | 11:39 |
| piey | sshd does not seem to be running | 11:40 |
| piey | 720 tty1 S+ 0:00 grep sshd | 11:40 |
| piey | is the response I get | 11:40 |
| C-Keen | dropbear is an ssh daemon implementation | 11:40 |
| C-Keen | ah and the reason it does not work I think is because your root user does not have a password set. You could try using telnet to connect to your nanonote before you do so | 11:41 |
| piey | nope, I don't think that's the problem | 11:44 |
| piey | I just changed the password, still can't scp | 11:44 |
| piey | And I can't telnet to my ben either :/ | 11:44 |
| GNUtoo-desktop | did you try the right user? | 11:44 |
| C-Keen | piey: what's your scp call look like? | 11:44 |
| piey | scp -v -r sdlquake root@192.168.1.100:~/ | 11:45 |
| C-Keen | can you telnet to the nanonote? | 11:46 |
| piey | telnet 192.168.1.100 | 11:46 |
| C-Keen | and is that the right ip address? :) | 11:47 |
| piey | Unable to connect to remote host: Connection refused | 11:47 |
| piey | ifconfig lists usb0 as | 11:47 |
| piey | inet addr: 192.168.1.100 | 11:47 |
| C-Keen | hm, ok | 11:47 |
| piey | bcast 192.168.1.255 | 11:47 |
| piey | bcast doesn't work either :| | 11:47 |
| piey | I suspect this is something to do with my ubuntu network configuration | 11:49 |
| piey | When I plug in my ben, ubuntu tries to connect to a wired network, without success | 11:49 |
| piey | (I was able to upgrade the firmware on the ben through) | 11:49 |
| C-Keen | piey: see the issue section at the bottom of the wiki page, maybe you need to tell your network manager to leave usb0 alone | 11:52 |
| lindi- | or you could configure the ip address using network manager? | 11:52 |
| piey | my interfaces looks like this | 11:53 |
| piey | iface lo inet loopback | 11:53 |
| piey | lindi-: network-manager-gnome doesn't have anything I could configure | 11:56 |
| piey | wait | 11:57 |
| piey | Should Device MAC address be usb0 or eth0? | 11:57 |
| lindi- | piey: hmm, it should | 11:58 |
| lindi- | piey: http://lindi.iki.fi/lindi/screencast/configure-dns2.ogv | 11:58 |
| piey | I'm surprised since I installed ubuntu today. | 11:58 |
| piey | and did nothing else. | 11:59 |
| piey | lindi-: In network connections, I see Wired Connection 1 and 2 | 12:00 |
| piey | not Autheth | 12:00 |
| lindi- | piey: no usb0 there? | 12:01 |
| piey | Nope. If I go to 'Edit' for one of the network connections | 12:01 |
| piey | I can select between usb0 or eth0 | 12:01 |
| piey | I'm using a wireless connection | 12:02 |
| piey | I'm now connected via ethernet. | 12:03 |
| piey | Still 'connection refused' | 12:05 |
| piey | lindi-: I changed my DNS servers to google's, but I'm still getting the same problem. | 12:09 |
| lindi- | piey: hmm, why did you change dns? | 12:09 |
| piey | umm, you gave me the video? | 12:10 |
| piey | [06:58] <lindi-> piey: http://lindi.iki.fi/lindi/screencast/configure-dns2.ogv | 12:10 |
| lindi- | piey: I gave it as an example on how to use network manager | 12:10 |
| piey | ooh. | 12:10 |
| lindi- | piey: since you had a problem: <piey> lindi-: network-manager-gnome doesn't have anything I could configure | 12:10 |
| lindi- | now you have solved this problem since you have configured DNS :P | 12:10 |
| piey | anyway, what do you mean by "or you could configure the ip address using network manager?" | 12:11 |
| lindi- | piey: you can set "Method:" to static ip | 12:12 |
| lindi- | piey: instead of DHCP | 12:12 |
| piey | Done, however that doesn't fix anything :( | 12:13 |
| lindi- | somebody who has ubuntu and ben nanonote might want to create a screencast that shows how this is done :) | 12:14 |
| piey | I doubt a screencast would help.. | 12:16 |
| piey | Instructions: | 12:16 |
| piey | sudo ifconfig usb0 192.168.1.2 scp -r sdlquake root@192.168.1.1:~/ | 12:16 |
| GNUtoo-desktop | piey, connect the cable and wait for network manager to fail to find the network | 12:17 |
| GNUtoo-desktop | and then ifconfig + scp | 12:17 |
| piey | connect ethernet / USB? | 12:17 |
| GNUtoo-desktop | there is no ethernet on the nanonote | 12:18 |
| GNUtoo-desktop | there is only an usb cable | 12:18 |
| piey | yeah | 12:18 |
| piey | I was asking if it's my computer's ethernet | 12:18 |
| piey | GNUtoo-desktop: scp doesn't work | 12:20 |
| piey | could anyone who has connected a ben tell me what to do? | 12:26 |
| GNUtoo-desktop | I've no ben | 12:27 |
| GNUtoo-desktop | so I don't know | 12:27 |
| piey | like, after setting a password and ipconfig scp should work? | 12:27 |
| GNUtoo-desktop | the openmoko wiki has an extensive howto on usb networking | 12:27 |
| GNUtoo-desktop | but adapt the ip with the ip of the ben | 12:27 |
| xiangfu | piey, Hi | 12:30 |
| piey | hi xiangfu! | 12:30 |
| xiangfu | piey, 1. connect ben nanonote to your PC with the usb cable. | 12:30 |
| piey | done | 12:30 |
| xiangfu | 1. then ifconfig -a will show usb0 in both side. | 12:30 |
| xiangfu | sorry. 2. then ifconfig -a will show usb0 in both side, (nanonote and your PC) | 12:31 |
| xiangfu | the usb0 of nanonote configured as 192.168.254.101 by default. | 12:31 |
| C-Keen | ah wrong network | 12:32 |
| piey | xiangfu: yep, I see usb0 on both sides | 12:32 |
| piey | I don't see 192.168.254.101 for usb0 through | 12:32 |
| C-Keen | what's it instead? | 12:33 |
| piey | it is a IPv6 address | 12:33 |
| xiangfu | piey, 192.168.254.101 in nanonote | 12:33 |
| piey | fe80 something. | 12:34 |
| xiangfu | piey, are you running the 'ifconfig -a' in nanonote terminal? | 12:34 |
| piey | oh, on my nanonote it is 192.168.254.101 | 12:34 |
| xiangfu | yes. then | 12:35 |
| xiangfu | run this command in your PC: | 12:35 |
| xiangfu | ifconfig usb0 192.168.254.100 | 12:35 |
| xiangfu | setup your PC usb0 to .254.100 | 12:35 |
| piey | usb0 is now 192.168.254.100 | 12:35 |
| xiangfu | setup a password under nanonote terminal. by running 'passwd' | 12:36 |
| piey | done | 12:36 |
| xiangfu | then you can ssh root@192.168.254.101 | 12:37 |
| xiangfu | to access ben nanonote. | 12:37 |
| xiangfu | or scp FILES root@192.168.254.101:~/ | 12:37 |
| xiangfu | if you want make nanonote access Internet. you have to run another two commands in your PC: | 12:37 |
| xiangfu | sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.254.0/24 | 12:38 |
| xiangfu | sudo sysctl -w net.ipv4.ip_forward=1 | 12:38 |
| piey | xiangfu: I have a problem through | 12:38 |
| piey | I can't ssh. | 12:38 |
| xiangfu | check the ifconfig usb0 result in your PC. the nm-applet may reset your usb0 | 12:38 |
| piey | usb0 is no longer 192.168.254.100 on my pc when I ifconfig | 12:38 |
| xiangfu | piey, ok. that is the nm-applet problem. | 12:39 |
| piey | ok, how do I get nm-applet to stop doing that? | 12:40 |
| xiangfu | add those lines(http://pastebin.com/nU2tpCHw) to your /etc/network/interfaces | 12:40 |
| xiangfu | and restart nm-applet | 12:41 |
| xiangfu | you can just [killall -s 9 nm-applet && nm-applet &] to restart it. | 12:41 |
| piey | text editor won't let me change interfaces | 12:43 |
| xiangfu | piey, sudo gedit /etc/network/interfaces | 12:43 |
| piey | thanks! | 12:44 |
| piey | gonna restart my computer to kill nm-applet | 12:45 |
| piey | xiangfu: after a restart, I don't see usb0 on ifconfig | 12:49 |
| xiangfu | piey, ifconfig -a? | 12:49 |
| piey | oh ,now I do | 12:50 |
| piey | it still doesn't have a IP address | 12:51 |
| piey | could you repeat what I should do with ifconfig to set it? I rebooted and lost the logs | 12:51 |
| xiangfu | 1. ifconfig usb0 192.168.254.100 on your PC. | 12:52 |
| xiangfu | 2. no needs touch nanonote anymore. since the ip address is configured by default and you already setup the password on nanonote. | 12:52 |
| piey | urrgg, I don't think it's working :( | 12:55 |
| piey | Wait, it is! | 12:56 |
| piey | I just have to do ifconfig usb0 192.168.254.100 every time I plug my nanonote in. | 12:56 |
| piey | Thanks for your help xiangfu ! | 12:56 |
| xiangfu | ( ifconfig usb0 192.168.254.100 every time) yes. | 12:57 |
| wpwrak | i have a script that basically does this: | 12:58 |
| wpwrak | echo 1 >/proc/sys/net/ipv4/ip_forward | 12:59 |
| wpwrak | ifconfig usb0 192.168.254.100 up && ssh 192.168.254.101 "$@" | 12:59 |
| piey | Oh great, I can't scp :/ | 12:59 |
| piey | I can ping 192.168.254.100 | 12:59 |
| wpwrak | first line enables IP forwarding (so the ben will then be able to reach the internet), the second sets up the interface and runs ssh | 12:59 |
| piey | Connection refused | 12:59 |
| piey | when I scp the same IP | 12:59 |
| wpwrak | script is called "ben". so to log on, i type "ben". to run a command, "ben whatever" | 12:59 |
| xiangfu | wpwrak, I have the same script file :) | 13:00 |
| wpwrak | xiangfu: great mind think alike ;-) | 13:00 |
| xiangfu | piey, you have to scp to 192.168.254.101 not 100 | 13:00 |
| xiangfu | piey, scp FILE root@192.168.254.101:~/ | 13:00 |
| piey | it is working! :D | 13:01 |
| piey | Thank you!! | 13:01 |
| wpwrak | ah, here it is: http://projects.qi-hardware.com/index.php/p/wernermisc/source/tree/master/bin/ben | 13:01 |
| xiangfu | wpwrak, replace mine :D | 13:05 |
| xiangfu | wpwrak, hmm.. so you are use 'root' in your PC system? | 13:07 |
| xiangfu | wpwrak, I just add root@ | 13:07 |
| wpwrak | ah yes, i do everything as root | 13:09 |
| wpwrak | you'll probably need a few sudos then, too. for ifconfig and such | 13:12 |
| wpwrak | though if you run the whole thing under sudo, i think it should work | 13:12 |
| xiangfu | wpwrak, yes. | 13:13 |
| kristianpaul | "i do everything as root" 0_o -> xD | 13:21 |
| kristianpaul | about scripts i tought was one that is "fired" from udev | 13:34 |
| kristianpaul | also for a voiding network-manager (in some systems) to mess with ben add auto usb0 to /etc/network/interfaces | 13:35 |
| whitequark | GNUtoo-desktop: so you want IDA | 14:15 |
| GNUtoo-desktop | yes but a free software version | 14:16 |
| GNUtoo-desktop | are the free ones that are already there usable? | 14:17 |
| GNUtoo-desktop | like for instance RADARE | 14:17 |
| GNUtoo-desktop | or stuff like that | 14:17 |
| GNUtoo-desktop | or frida | 14:17 |
| whitequark | radare has only trivial code analysis | 14:20 |
| whitequark | and, er | 14:20 |
| whitequark | frida is really hard to google | 14:20 |
| whitequark | at least I'm unable to find the reverse engineering related one | 14:21 |
| GNUtoo-desktop | ok | 14:28 |
| qi-bot | [commit] Werner Almesberger: m1nor: search fjmem.bit also in /usr{/local,}/share/milkymist/fjmem.bit (master) http://qi-hw.com/p/wernermisc/b05481f | 17:27 |
| Artyom | kristianpaul: hi | 18:53 |
| kristianpaul | Artyom: hi | 20:09 |
| kristianpaul | btw did you buyed that book "Fundamentals of GPS Receivers: A Hardware Approach" ? :-) | 20:09 |
| kristianpaul | looks really interesting to get one ;) | 20:09 |
| Artyom | No, I haven't bought it. Rather expensive for me... | 20:10 |
| kristianpaul | expensive for me same.. | 20:11 |
| Artyom | I wanted to tell that I published my Softosgps port (only acquisition and tracking is done). | 20:11 |
| Artyom | There are some updates comparing to the original code | 20:12 |
| kristianpaul | yup just did svn up today and noticd it :) | 20:12 |
| kristianpaul | havent done a full diff yet | 20:12 |
| Artyom | For example: IQ and only-I signal processing can be chosen | 20:12 |
| kristianpaul | oh | 20:13 |
| Artyom | Most "magic numbers" are calculated during initialization | 20:13 |
| Artyom | And I tried to put all global variables in one header | 20:14 |
| Artyom | To make the code more readable | 20:14 |
| kristianpaul | I tought osgps was using globar variables already? | 20:14 |
| kristianpaul | global* | 20:15 |
| Artyom | And also some steps towards glonass implementation are done | 20:15 |
| Artyom | yes, osgps use global variables. But they are spread among several files. I think it's better to keep them in one place | 20:17 |
| kristianpaul | damn that book is pretty nice | 20:26 |
| whitequark | Artyom: hi | 20:28 |
| whitequark | about milkymist | 20:28 |
| whitequark | I've been quite busy at work, so I didn't even unpacked it (yet), but it has definitely arrived | 20:28 |
| whitequark | the customs definitely weren't a problem | 20:28 |
| kristianpaul | *g* | 20:28 |
| kristianpaul | whitequark: how much you paid to customs? | 20:30 |
| Artyom | yeah, that is definitly a good news. MM price is relatively low to have troubles with customs :) | 20:30 |
| whitequark | kristianpaul: nothing | 20:31 |
| kristianpaul | oh cool ! | 20:31 |
| kristianpaul | fedex? | 20:31 |
| whitequark | yes | 20:31 |
| kristianpaul | wow | 20:31 |
| kristianpaul | bbl | 20:32 |
| whitequark | I've got more than 15 parcels of different size, weight, originating country and contents in the last year | 20:32 |
| whitequark | all have arrived in less than 25 days, relatively unharmed | 20:32 |
| Artyom | As I understand goods with price below 1000 euro should pass through customs without any problems | 20:33 |
| whitequark | the declared sum was something like $75 | 20:33 |
| whitequark | of course that means no insurance | 20:33 |
| Artyom | According to rules of customs union (Russia, Kazakhstan, Belarus) | 20:35 |
| Artyom | whitequark: It would be interesting to hear about your experience with MM1 ;) | 20:44 |
| whitequark | what particularly? | 20:44 |
| kristianpaul | back | 20:52 |
| Action: kristianpaul tempted to buy the book | 20:52 | |
| kristianpaul | at least i can find other way to get it of course :) | 20:53 |
| Artyom | starting from the beginning: one thing is to see something in the internet and absolutely another to touch something with your hands :) BTW Are you going to use it as a vj-tool? Or you have some projects that you want to check with MM1? | 20:54 |
| Artyom | Some parts of the book are available through google-book | 20:55 |
| Artyom | At home I could read chapter 1 | 20:56 |
| Artyom | at wotk chapter 8 | 20:56 |
| Artyom | Which chapter can you read? ;) | 20:56 |
| whitequark | Artyom: nah, I don't even know who VJs are (except for Wikipedia article obviously) | 20:56 |
| whitequark | but it's better than most FPGA devboards around here | 20:56 |
| kristianpaul | Artyom: yeap | 20:57 |
| kristianpaul | i got appendix A B C D E in pdf.. | 20:57 |
| Artyom | whitequark: what benefits do you consider important? | 20:57 |
| kristianpaul | tought shipping is just 9usd nice | 20:58 |
| whitequark | Artyom: being designed by people whose goal is to make a piece of good HW and not to sell a ton of accessories (I'm looking at you, Digilent) | 21:01 |
| kristianpaul | chapter 6 here | 21:03 |
| Artyom | kristianpaul: another 10 persons and we will be able to read all the book :) | 21:05 |
| kristianpaul | lol | 21:05 |
| kristianpaul | I'm interested on chapter 9 | 21:05 |
| kristianpaul | btw i think i messed a wire here, either your soc is not working on my board | 21:06 |
| kristianpaul | i guess the gps clock is not working good... | 21:06 |
| kristianpaul | debuging right now with scope.. :| | 21:06 |
| kristianpaul | make that cable longer was not a good idea after all.. | 21:06 |
| Action: kristianpaul at 34°C and goes for lemonade | 21:07 | |
| wpwrak | only 26 C here:) but 83% humidity ... | 21:09 |
| Action: whitequark has read that as "83% humanity" | 21:09 | |
| Artyom | whitequark: I personaly appreciate the SoC. It's the only open-source analogue to microblaze in my understanding. (BTW I bought my Digilent board long before MM 1 was developed). | 21:13 |
| whitequark | Artyom: M1 SoC can run on most FPGAs powerful enough at the market | 21:13 |
| Artyom | I know it. And I play with it on one of them... | 21:14 |
| Artyom | kristianpaul: what cables are you talking about? | 21:17 |
| kristianpaul | Artyom: some that goes from the sige EVB to M1 | 21:18 |
| Artyom | and how long is your cable? Mine is about 15-20 cm | 21:18 |
| kristianpaul | 10cm | 21:18 |
| kristianpaul | wow quite long, do you use some shielding? | 21:19 |
| Artyom | no | 21:20 |
| Artyom | distance doesn't seem to long for 16Mhz... | 21:21 |
| kristianpaul | indeed | 21:21 |
| whitequark | a "wiggler" programmer for atmegas (1MHz maybe) is known not to work with cable lengths over 30-50cm | 21:22 |
| whitequark | and it did fail for me on some occasions | 21:22 |
| kristianpaul | whitequark: btw what your plans with M1? | 21:22 |
| kristianpaul | are you interesting on the gps system on chip implementation Artyom is working on for glonass? | 21:23 |
| whitequark | kristianpaul: hmm. I'm going to do something with it | 21:23 |
| kristianpaul | or gps on my side :) | 21:23 |
| whitequark | gps sounds interesting | 21:23 |
| whitequark | do I need any special hardware? | 21:23 |
| kristianpaul | it is | 21:23 |
| kristianpaul | you need a receiver | 21:23 |
| kristianpaul | you already have a M1 :D | 21:23 |
| kristianpaul | Artyom: your website is down? | 21:24 |
| whitequark | kristianpaul: ahem | 21:25 |
| whitequark | I thought your GPS work involved parsing raw signals | 21:25 |
| Artyom | whitequark: simple rf front-end to receive, amplify and digitize gps signal | 21:25 |
| kristianpaul | whitequark: yes | 21:25 |
| kristianpaul | using milkymist :) | 21:25 |
| whitequark | ok, isn't the RF frontend "special hardware"? | 21:26 |
| kristianpaul | nope at all | 21:26 |
| Artyom | kristianpaul: it worked an hour ago... But now there are some problems... | 21:26 |
| whitequark | hm interesting | 21:26 |
| kristianpaul | whitequark: check http://gnss-sdr.ru/ soon ;) | 21:26 |
| whitequark | ok | 21:27 |
| Artyom | yeah, I gues I should change hosting provider once... | 21:28 |
| Artyom | now it works :) | 21:28 |
| Artyom | time to sleep. gn | 21:31 |
| --- Sat Feb 18 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!