You are not logged in.
after upgrading from 2011.05.2-1 2011.06.2-1, I moved rc.conf.pacnew to rc.conf and edited the daemons line, host, etc..
under old initscripts, I used to assign a static 10.xx.xx.xx under eth0 then run /etc/rc.d/adsl start to create the ppp0 connection which I use for internet.
under new initscripts, this won't work. if I assign a static 10.xx.xx.xx for eth0, /etc/rc.d/adsl start will work but the system somehow won't use ppp0 for internet which means I have no internet connection. ifconfig shows lo eth0 and ppp0 are up.
so to work around this, I edited rc.conf and edited the interface part to
interface=
address=
netmask=
gateway=
then I /etc/rc.d/network restart and /etc/rc.d/adsl restart and now I have internet again (eth0 and ppp0 are up but "ifconfig eth0" outputs
eth0 Link encap:Ethernet HWaddr 00:00:E8:A0:04:F2
inet6 addr: fe80::200:e8ff:fea0:4f2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34554 errors:0 dropped:36 overruns:0 frame:0
TX packets:34611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14170572 (13.5 Mb) TX bytes:3065525 (2.9 Mb)
Interrupt:20 Base address:0xb000
and I got the warning:
/etc/rc.d/network restart
Warning: This functionality is deprecated.
Please refer to /etc/rc.conf on how to define a single wired
connection, or use a utility such as netcfg.
:: Stopping Network [DONE]
Warning: This functionality is deprecated.
Please refer to /etc/rc.conf on how to define a single wired
connection, or use a utility such as netcfg.
:: Starting Network [DONE]
What does that warning mean? I have internet now but I'm troubled by this warning.
Edit:
I removed 'network' from daemons array. on next reboot, it appears that /etc/rc.d/adsl auto started the eth0 interface and created ppp0 (ifconfig eth0 output is same as above) and internet connection is working. Will this behavior change in the future or am I safe for now?
Last edited by hussam (2011-06-03 12:40:36)
Offline
hello all. I have the same problem too. but I have 2 ethernets in my home: eth0 for adsl, eth1 for masquerade on my netbook. new rc.conf gateway option (for eth1) break my route table.
route table before network start:
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp0
cta105.ttk-chit * 255.255.255.255 UH 0 0 0 ppp0
route table after network start (internet over ppp0 on eth0 not work at all):
ernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
83.234.11.9 * 255.255.255.255 UH 0 0 0 ppp0
what I should do? where is wiki page for new rc.conf?
sorry for bad english. i'm not english speaking
Offline
and I got the warning:
/etc/rc.d/network restart
Warning: This functionality is deprecated.
Please refer to /etc/rc.conf on how to define a single wired
connection, or use a utility such as netcfg.
:: Stopping Network [DONE]
Warning: This functionality is deprecated.
Please refer to /etc/rc.conf on how to define a single wired
connection, or use a utility such as netcfg.
:: Starting Network [DONE]
I had this warning either. It's no biggie. To get rid of it go here https://wiki.archlinux.org/index.php/Rc.conf and change the NETWORKING section from your rc.conf with that, from the example of an updated rc.conf. Basically, after that, for a DHCP connection you only have to specify your interface the rest of the parameters can be left commented.
I've first installed Arch in March
Offline