Current Server Time: 03:03 (Central Europe)

#apertus IRC Channel Logs

2013/07/07

Timezone: UTC


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