01:09 | dmj_nova | left the channel | |
02:34 | Bertl | night folks!
| |
05:59 | dmj_nova | joined the channel | |
12:05 | Bertl | morning everyone!
| |
14:56 | dmj_nova | morning Bertl
| |
14:58 | Bertl | everything fine on your end?
| |
15:08 | dmj_nova | yep just got back last night
| |
15:09 | dmj_nova | now I'm up for the day
| |
15:12 | Bertl | let me know if you need anything
| |
15:13 | Bertl | btw, do you know a nice tool (in linux) to view .edif or .ngc files?
| |
15:50 | dmj_nova | Bertl: not a free one
| |
15:51 | dmj_nova | though I haven't looked 'itl now
| |
15:55 | dmj_nova | Bertl: how do you want to view it?
| |
15:58 | Bertl | basically a schematic, preferably hierarchical
| |
16:00 | dmj_nova | does geda do anything useful there?
| |
16:00 | dmj_nova | Looks like an edif2kicad project exists on sourceforge
| |
16:14 | Bertl | yeah, I tried the edif2kicad, it just segfaults
| |
16:15 | Bertl | nevertheless, will look into it later
| |
16:16 | dmj_nova | aww
| |
16:42 | Bertl | off for now ... will be back in a few hours
| |
19:13 | Bertl | back ...
| |
19:16 | dmj_nova | Bertl: cool
| |
19:16 | dmj_nova | so on the tfpt stuff
| |
19:22 | dmj_nova | you have time for that atm?
| |
19:22 | Bertl | sure
| |
19:34 | dmj_nova | so I'm thinking that if I setup the router to forward the bootp requests to my desktop, then I won't have to do the static IP thing in
| |
19:34 | dmj_nova | and just always point the router to my desktop
| |
19:34 | dmj_nova | for bootp stuff
| |
19:35 | Bertl | yeah, that sounds doable
| |
19:35 | Bertl | the question is, does the router care about the bootp stuff?
| |
19:36 | Bertl | if it doesn't care at all, you do not need to bother with the router
| |
19:37 | dmj_nova | you mean install dhcp on my desktop and see if it does anything at all?
| |
19:38 | Bertl | disable the 'normal' dhcp on the desktop
| |
19:38 | Bertl | (otherwise you'll interfere with the router)
| |
19:38 | Bertl | but it depends on the router _not_ answering the bootp
| |
19:38 | dmj_nova | disable the "client" dhcp on the desktop so it has a consistent IP?
| |
19:39 | Bertl | nah, that doesn't matter
| |
19:39 | dmj_nova | or what do you mean the "normal" dhcp?
| |
19:39 | Bertl | I mean, you do not want to send dhcp answers to other clients
| |
19:40 | Bertl | so configure your dhcp_d_ to only hand out a single IP to the known? mac of the zedboard
| |
19:40 | dmj_nova | you mean make the dhcp *server* on the desktop only answer bootp requests?
| |
19:40 | dmj_nova | ahh
| |
19:40 | Bertl | yep, precisely
| |
19:40 | dmj_nova | hmm...not sure how to do this entirely
| |
19:41 | Bertl | note: this is all under the assumption that your zedboard doesn't get a dynamic IP from the router
| |
19:41 | Bertl | i.e. double check that first, otherwise we have to work around that with support from the router or by modifying the boot.bin
| |
19:42 | dmj_nova | the router doesn't show a zedboard connected to it
| |
19:42 | Bertl | (after you did the bootp command, yes?)
| |
19:54 | dmj_nova | Bertl: yes, bootp is on
| |
19:55 | dmj_nova | erm, yes I after running bootp
| |
19:55 | Bertl | okay, and what does the zedboard say after the bootp command?
| |
19:55 | Bertl | something like 'BOOTP broadcast N' >
| |
19:55 | Bertl | s/>/?
| |
19:59 | dmj_nova | it does the same loop of bootp broadcast 1 through 5, then retries
| |
19:59 | Bertl | excellent
| |
20:00 | Bertl | okay, then don't bother with the router
| |
20:00 | dmj_nova | oh, okay
| |
20:01 | Bertl | just configure dhcpd (on your desktop) and define your private network
| |
20:01 | dmj_nova | okay
| |
20:02 | Bertl | also make sure that the zedboard and your desktop are on the same network
| |
20:02 | Bertl | i.e. not routed but switched
| |
20:07 | dmj_nova | they're both connected to the same switch, which is connected to a router
| |
20:07 | dmj_nova | the router is currently providing dhcp
| |
20:08 | Bertl | okay, that
| |
20:08 | Bertl | 's fine
| |
20:11 | Bertl | if the router is handing out 192.168.1.x addresses, just pick 192.168.2.x as network
| |
20:11 | dmj_nova | okay, installed isc-dhcp-server
| |
20:11 | dmj_nova | okay
| |
20:11 | Bertl | define the network in dhcpd config, if you need an example how to do that, just let me know
| |
20:12 | dmj_nova | yeah, I've never setup a dhcpd config before
| |
20:14 | Bertl | http://pastebin.com/q3WJ889Z
| |
20:14 | dmj_nova | hmm...I don't know it's mac address
| |
20:14 | Bertl | doesn't matter
| |
20:15 | Bertl | it will get logged when dhcpd is running and you issue the bootp
| |
20:15 | Bertl | you then simply copy it from the log to the 00:00...:00 placeholder
| |
20:15 | dmj_nova | ahh
| |
20:16 | Bertl | you need to assign the 192.168.2.1 to your desktop as well
| |
20:17 | Bertl | i.e. add it temporarily or put it into an ifcfg-eth0:2 or so
| |
20:24 | dmj_nova | hmm...now my desktop can't connect to the internet
| |
20:25 | Bertl | now is since when?
| |
20:25 | dmj_nova | since I assigned it a static IP
| |
20:25 | Bertl | you mean, you changed the ip from dynamic to static?
| |
20:25 | Bertl | if so, that wasn't the idea :)
| |
20:26 | dmj_nova | oh
| |
20:26 | Bertl | you still want to keep your normal dhcp address
| |
20:26 | Bertl | but you also want to assign a static IP in the 192.168.2.x network, specifically the 192.168.2.1
| |
20:26 | Bertl | (there is no problem with having more than one IP :)
| |
20:27 | Bertl | you are using ubuntu, yes?
| |
20:27 | dmj_nova | yes
| |
20:27 | Bertl | http://www.cyberciti.biz/tips/ubuntu-linux-creating-ethernet-alias-for-eth0-network-device.html
| |
20:28 | Bertl | just take 192.168.2 wherever 192.168.1 is used and 192.168.2.1 where 192.168.1.11 is used (in this example)
| |
20:29 | Bertl | and personally I'd use eth0:2 instead of eth0:0 but that's just cosmetics
| |
20:29 | Bertl | (i.e. the :2 is the alias name and for me that would mean the .2.x network
| |
20:30 | Bertl | but you could as well use eth0:zed :)
| |
21:12 | Bertl | everything fine?
| |
21:28 | dmj_nova | got distracted, the artist for my comic just got back in town and needed some input
| |
21:29 | dmj_nova | back now though
| |
21:52 | dmj_nova | hmm...so I've got eth0:2 setup
| |
21:52 | Bertl | I'll be off soon (15 minutes or so)
| |
21:52 | Bertl | okay, so your desktop has the 192.168.2.1 IP and you can reach the internet, yes?
| |
21:53 | dmj_nova | yes
| |
21:53 | dmj_nova | I can ping 192.168.2.1
| |
21:53 | Bertl | good, dhcpd might complain about a missing definition for eth0 and the 192.168.1.x network
| |
21:53 | dmj_nova | not seeing the zedboard showing up in the syslog though
| |
21:53 | Bertl | check that dhcpd started successfully
| |
21:55 | dmj_nova | wait, now I am
| |
21:55 | Bertl | so copy the mac to the dhcpd config then
| |
21:56 | Bertl | (and don't forget to restart dhcpd afterwards :)
| |
21:57 | dmj_nova | aha!
| |
21:57 | dmj_nova | it got an address
| |
21:57 | Bertl | excellent, I presume it also got the right address :)
| |
21:57 | dmj_nova | yep
| |
21:58 | Bertl | now grab the boot.bin and put it on your SD (if you didn't already do so)
| |
21:58 | Bertl | http://vserver.13thfloor.at/Stuff/AXIOM/TFTP/boot.bin
| |
21:58 | Bertl | (make sure that it is the only one, i.e. upper/lower case matters)
| |
21:59 | Bertl | well, I always used upper case, but I guess it doesn't really matter if it is the only file on fat
|