PDA

View Full Version : Problem with system-config-network in F9


Onlinetest
2008-04-01, 03:23 AM CDT
I updated fedora 9, and configuration to my laptop connected internet . But there is a problem when i change DNS :

================================================== ================================
component: system-config-network
Version: 1.5.3
Summary: TBe93ef273 Conf.py:998:__setitem__:TypeError: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 831, in on_applyButton_clicked
self.save()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 392, in save
self.saveHardware()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 420, in saveHardware
hardwarelist.save()
File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 700, in save
hw.save()
File "/usr/share/system-config-network/netconfpkg/plugins/NCHWEthernet.py", line 44, in save
modules[self.Name] = dic
File "/usr/share/system-config-network/netconfpkg/conf/Conf.py", line 998, in __setitem__
replace = key + ' ' + varname + ' ' + endofline
TypeError: coercing to Unicode: need string or buffer, NoneType found

Local variables in innermost frame:
findexp: ^[ ]*alias[ ]+eth0[ ]+
missing: 1
varname: eth0
self: <netconfpkg.NCHardwareList.MyConfModules instance at 0x9e0de8c>
value: {'alias': None, 'options': {}, 'install': [], 'remove': []}
place: 0
key: alias
endofline: None
================================================== ============================

Best regards,

N2lose

leigh123@linux
2008-04-01, 03:33 AM CDT
Moved to Fedora Focus ( this forum doesn't support test releases )



Try using system-config-network in runlevel 3


su -
init 3
system-config-network

Onlinetest
2008-04-01, 04:04 AM CDT
I try this : change and save DNS.
But in the next time when i restart my laptop : everything is come back Default Setting(LAMNT). And everytime this, to changed DNS i must use command : hostname localhost.localhostdomain