Configure Network on newest 2015-05-05 raspian wheezy - Raspberry Pi Forums
first off have pain find out how set static ip command line on newest 2015-05-05 raspian wheezy image because uses /etc/dhcpc.conf control network interfaces. more image designed expectations use gui configure network adapters. small projects do, not use gui. figuring out how set static ip network gruesome.
anyways, able set static ip can ssh unit not connect internet.
here's tail end of dhcpcd.conf
can see how set in second post write definitive solution others find.
dont see how ifconfig here is:
anyways, able set static ip can ssh unit not connect internet.
here's tail end of dhcpcd.conf
code: select all
interface eth0 static routers=10.0.1.1 inform 10.0.1.201 static domain_name_servers=10.0.1.1 8.8.8.8
dont see how ifconfig here is:
code: select all
eth0 link encap:ethernet hwaddr b8:27:eb:3f:9d:73 inet addr:10.0.1.201 bcast:10.0.1.255 mask:255.255.255.0 broadcast running multicast mtu:1500 metric:1 rx packets:114710 errors:0 dropped:999 overruns:0 frame:0 tx packets:14542 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:16722506 (15.9 mib) tx bytes:897206 (876.1 kib) lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 loopback running mtu:65536 metric:1 rx packets:0 errors:0 dropped:0 overruns:0 frame:0 tx packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 rx bytes:0 (0.0 b) tx bytes:0 (0.0 b)
setting static ip address
newest image of raspian wheezy relies on gui configuring network. if not trouble, boot graphical interface running startx , in upper right corner icon load gui configuring network interfaces.
don't wish boot x, here command can run set static ip.
newest image of raspian wheezy relies on gui configuring network. if not trouble, boot graphical interface running startx , in upper right corner icon load gui configuring network interfaces.
don't wish boot x, here command can run set static ip.
code: select all
dhcpcd -s ip_address=192.168.0.101 -s routers=192.168.0.1 -s domain_name_servers=192.168.0.1 eth0
raspberrypi
Comments
Post a Comment