You are not logged in.

#1 2011-06-15 08:41:30

arch_cy
Member
From: ~/.xinitrc
Registered: 2011-03-04
Posts: 39

Warning: This functionality is deprecated

Hello to evreyone. Today while my arch is beging start up on the screen:
Setting Hostname.....
.
.
::Starting Syslog-NG
::Starting D-BUS system messagebus
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 necfg.
:: Starring Network

Evreything works fine but i dont know why this message is appear.
Thanks.


Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)

Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)

Offline

#2 2011-06-15 08:45:19

ryuslash
Member
Registered: 2010-10-11
Posts: 58
Website

Re: Warning: This functionality is deprecated

The way you configure your network settings have changed, you should look at the rc.conf.pacnew file to see how it should work now

Offline

#3 2011-06-15 08:46:30

jnguyen
Member
Registered: 2011-02-17
Posts: 139
Website

Re: Warning: This functionality is deprecated


TOMOYO Linux: Mandatory Access Control.
My AUR packages

Offline

#4 2011-06-15 08:59:23

Awebb
Member
Registered: 2010-05-06
Posts: 6,309

Re: Warning: This functionality is deprecated

Sounds like you should modify your signature :-D

Always check for .pacnew after an update.

Offline

#5 2011-06-15 10:30:31

arch_cy
Member
From: ~/.xinitrc
Registered: 2011-03-04
Posts: 39

Re: Warning: This functionality is deprecated

So what should i change in rc.conf?


Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)

Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)

Offline

#6 2011-06-15 11:11:06

ryuslash
Member
Registered: 2010-10-11
Posts: 58
Website

Re: Warning: This functionality is deprecated

From the new rc.conf:

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP)
#   - gateway: default route (ignored for DHCP)
# 
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

interface=
address=
netmask=
gateway=

Offline

#7 2011-06-15 11:53:28

arch_cy
Member
From: ~/.xinitrc
Registered: 2011-03-04
Posts: 39

Re: Warning: This functionality is deprecated

I did backup my old rc.conf... then i copy the new rc.conf to the original rc.conf... restart but the network did not work.. so i restore the rc.conf backup. I dont really understand what to do. Please can you give more information?


Knowledge ⇛ Linux: Good ┃ Programming: Yes (Java, C++/C, Pacal, Visual Basic, Python, HTML)

Desktop: HP Compaq (1GB RAM, Intel Core 2 Duo, GeForce 7300E, D-Link DGE-530T Gigabit) Arch Linux 64bit with XFCE
Netbook: HP Mini 110-3160ev (Intel Atom, RaLink RT3090 Wireless) MeeGov1.2 (32bit)

Offline

#8 2011-06-15 12:10:30

ryuslash
Member
Registered: 2010-10-11
Posts: 58
Website

Re: Warning: This functionality is deprecated

If you use DHCP, then make sure it says

interface=eth0

if you have other settings, then please transfer them from your old rc to your new one, looking at them side-by-side should make it fairly obvious how they fit together. The only thing that I know of that doesn't have a place in this new configuration is the broadcast setting, I think that was placed somewhere else?

Offline

#9 2011-06-15 14:03:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Warning: This functionality is deprecated

There are a bunch of threads about the rc.conf changes. Please search the forums to find your answers. Those threads detail every step you need to take in order for you to get your network working.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2011-06-15 15:52:55

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Warning: This functionality is deprecated

Perhaps when you made the changes in rc.conf to the new method, you made errors in typing so the network then failed.

Perhaps also the new rc.conf did not get installed in place of the original (old rc.conf).

Try the procedure again....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2011-07-29 12:38:35

Modeler
Member
From: United Kingdom
Registered: 2011-07-28
Posts: 70

Re: Warning: This functionality is deprecated

I had the same issue and found that if I hadn't set the "interface" parameter in the updated /etc/rc.conf, then the message appeared. I had left this blank as I was using networkmanager; removing "network" from the "DAEMONS" parameter fixed it for me.


Wirth's law: "Software is getting slower more rapidly than hardware becomes faster"

Offline

#12 2011-08-01 11:26:36

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 325
Website

Re: Warning: This functionality is deprecated

Modeler wrote:

I had the same issue and found that if I hadn't set the "interface" parameter in the updated /etc/rc.conf, then the message appeared. I had left this blank as I was using networkmanager; removing "network" from the "DAEMONS" parameter fixed it for me.

I had the same issue…


we are not condemned to write ugly code

Offline

Board footer

Powered by FluxBB