Network in rc.conf

Development on core packages and the distribution goes on in here.

Re: Network in rc.conf

Postby pepedog » Wed Jun 29, 2011 5:36 pm

Not on the faulty dockstar.
I know it boots, logs are wrote to, and pogo os has same trouble, will have to plug in serial (suspect mac address change)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Network in rc.conf

Postby pepedog » Fri Jul 01, 2011 8:54 am

Back to the original rc.conf question, the examples do not cover static very well, had to look at the script to see what it wanted, miss the netmask and it assumes /24
$this->bbcode_second_pass_code('', '
CONNECTION='ethernet'
DESCRIPTION='whatever'
INTERFACE='eth1'
IP='static'
ADDR='aaa.bbb.ccc.ddd'
NETMASK='255.255.248.0'
GATEWAY='94.194.200.1'
DNS=('87.194.255.154')
')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Network in rc.conf

Postby chadr » Fri Aug 05, 2011 2:24 am

I just set up the pogo today, but didn't have success with setting the static ip in rc.conf

#
# Static IP example
interface=eth0
address=192.168.1.150
netmask=255.255.255.0
gateway=192.168.1.1

this doesn't work for me, so I had to reboot with the usb connected and edit the file back to dhcp. What else is needed to make static ip work?
chadr
 
Posts: 24
Joined: Mon Aug 01, 2011 10:08 pm

Re: Network in rc.conf

Postby chadr » Sun Aug 07, 2011 11:35 pm

The netmask should be 24 (no slash) instead of 255.255.255.0. This is what worked for me. The example in rc.conf needs an update.
Last edited by chadr on Mon Aug 08, 2011 12:33 am, edited 1 time in total.
chadr
 
Posts: 24
Joined: Mon Aug 01, 2011 10:08 pm

Re: Network in rc.conf

Postby kmihelich » Sun Aug 07, 2011 11:48 pm

Glad it worked for you. We don't write the examples, the files, or the way it should be done. We're a downstream architecture derivative of Arch Linux, not actually Arch Linux.

The way the example is set up does in fact work. I have created numerous installations since the change, adjusting only for my network. Even the old style of static IP addressing works.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Previous

Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 12 guests