Re: [Fwd: FC9 Network Config]
by Edward S.P. Leong
Olteanu Eugen wrote:
> I dont get it! Why would udev rename/change the name of swap???
> As for the nics.. check if there is any interrupt on your main board.
> cat /proc/interrupts
How many NICs with your motherboard ?
> On Thu, Oct 2, 2008 at 2:36 PM, <edwardspl(a)ita.org.mo
> <mailto:edwardspl@ita.org.mo>> wrote:
>
> Hello to you,
>
> Would you mind to help as the following questions ?
>
> 1, How to modify /etc/udev/rules.d/70-persistent-net.rules, then
> prevent
> the udev service to change ( rename / swap ) the name of device ( eg :
> eth?? ) ?
>
> # This file was automatically generated by the
> /lib/udev/write_net_rules
> # program run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line.
>
> # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rule
> written by
> anaconda)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="10:e0:8c:39:8f:48", ATTR{type}=="1", KERNEL=="eth*",
> NAME="eth2"
> # Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rule
> written by
> anaconda)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:02:44:6c:66:49", ATTR{type}=="1", KERNEL=="eth*",
> NAME="eth1"
> # Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit
> Ethernet controller (rule written by anaconda)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="00:1e:8c:7e:2f:58", ATTR{type}=="1", KERNEL=="eth*",
> NAME="eth0"
>
> 2, After FC9 version, how to modify ( update ) the NIC config (
> driver )
> in text mode ?
> ( eg : Due to the current NIC just bad, so replace with another
> new one,
> or add one more NIC for controling another network segment )
>
> 3, During the installation of FC, without which items, then the
> services
> of NetworkManager won't be installed ?
>
> Thanks
>
> Edward.
>
>
For the point of 2 and 3, any suggestion / solution for me ?
Thanks !
Edward.
15 years, 6 months
Re: howto join lines
by Gianluca Cecchi
On Wed, 1 Oct 2008 17:13:22 +0200 David Hláčik wrote:
> i want to have those lines joined to one line with spaces
> Before :
>
> textone
> texttwo
> something
>
> After :
>
> textone texttwo something
Just another option:
paste -s -d " " filename
Or, if the input comes from many single line files:
paste -d " " file1 file2 ... filen
;-)
15 years, 6 months
Re: [Fwd: FC9 Network Config]
by Edward S.P. Leong
Hello to you,
Would you mind to help as the following questions ?
1, How to modify /etc/udev/rules.d/70-persistent-net.rules, then prevent
the udev service to change ( rename / swap ) the name of device ( eg :
eth?? ) ?
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rule written by
anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="10:e0:8c:39:8f:48", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth2"
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rule written by
anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:02:44:6c:66:49", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit
Ethernet controller (rule written by anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1e:8c:7e:2f:58", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"
2, After FC9 version, how to modify ( update ) the NIC config ( driver )
in text mode ?
( eg : Due to the current NIC just bad, so replace with another new one,
or add one more NIC for controling another network segment )
3, During the installation of FC, without which items, then the services
of NetworkManager won't be installed ?
Thanks
Edward.
15 years, 6 months
Pulseaudio... again. How to restart it?
by Fernando Apesteguía
Hi,
I'm having some issues with Pulseaudio (well, I have sound only half
of the times I boot my system...)
These are the synthoms:
mplayer file1.avi
....
AO: [pulse] Init failed: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
....
I tried with
$ pulseaudio -k
E: main.c: Failed to kill daemon.
I can't find the pulseaudio process. What's its name? Can I kill it if
it doesn't kill itself?
Thanks in advance.
15 years, 6 months
Creating a common folder for all users
by Steve Repo
I have a f9 system at home and it is used by me, wife and kids.
Sometimes we want to share files docs, pictures and stuff. Here are my plans,
1. mkdir /fileshare
2. create "share" group
3. add all users this group
4. chmod -R ug+rwx /fileshare
5. chown -R root:share /fileshare
6. for each user, rm -rf /home/<user>/Public
7. for each user, ln -s /fileshare /home/<user>/Public
Whatever they copy to their Public directory, it will be visible by all.
Will this work? Is there a better idea?
Thanks,
Steve
15 years, 6 months
Re: [Fwd: FC9 Network Config]
by Edward S.P. Leong
Hello to you,
[root@svr1 ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1E:8C:7E:2F:58
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:8cff:fe7e:2f58/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5013 errors:0 dropped:2641364527 overruns:0 frame:0
TX packets:4704 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2614385 (2.4 MiB) TX bytes:287837 (281.0 KiB)
Interrupt:16 Base address:0x4000
[root@svr1 ~]# mii-tool
eth0: negotiated 100baseTx-HD, link ok
eth1: no link
eth2: no link
[root@svr1 ~]# lspci | grep Eth
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
01:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
[root@svr1 ~]#
for ifcfg-eth0: is using Realtek RTL8169D chip ( r8169 driver )
for ifcfg-eth1: is using Realtek RTL8139C chip ( 8139too driver )
for ifcfg-eth2: is using Realtek RTL8139D chip ( 8139too driver )
Due to the udev change ( swap ) the name of NIC devices, so the eth1 and
eth2 is no link ( cable disconnect )...
BTW, If I need to do the network job / task ( add a new one NIC or
replace NIC ), so FC8 or FC9 System is suitable for it ?
Thank !
Edward.
Olteanu Eugen wrote:
> What NIC is that?
>
> Show me the output of:
>
> ifconfig eth2
> mii-tool
> lspci | grep Eth
>
>
>
>
> On Wed, Oct 1, 2008 at 4:01 PM, <edwardspl(a)ita.org.mo
> <mailto:edwardspl@ita.org.mo>> wrote:
>
> Hello,
>
> Sorry,
>
> I have just created and setup another new NIC as the following :
>
> /etc/modprobe.conf
> And
> /etc/modprobe.d/modprobe.conf
>
> Then reboot / run "/etc/rc.d/init.d/network" to restart
>
> BUT :
>
>
> [root@svr1 ~]# /etc/rc.d/init.d/network restart
> Shutting down interface eth0: [ OK ]
> Shutting down interface eth1: [ OK ]
> Shutting down loopback interface: [ OK ]
> Bringing up loopback interface: [ OK ]
> Bringing up interface eth0: [ OK ]
> Bringing up interface eth1: [ OK ]
> [root@svr1 ~]#
>
> So, how about the eth2 ?
>
> Does the system cam't ( don't ) load the driver ( module ) of eth2
> ( another PCI ) ?
>
> Any more help ?
>
>
> Thanks
>
> Edward.
>
> Olteanu Eugen wrote:
>
>> Ok you dont seem to have any problem with your modules..so you
>> dont need to modify anything in modprobe.conf. This means your
>> network is fine..
>>
>> The ntsysv tools shows a list of services that are off or on at a
>> normal reboot. Depending on what you use that computer for you
>> might have more servers "on".
>>
>> Here are the ones that I have "on":
>>
>> acpid
>> avahi-daemon
>> cpuspeed
>> crond
>> gpm
>> haldaemon
>> httpd
>> iptables
>> irqbalance
>> mdmonitor
>> messagebus
>> mysqld
>> network
>> sshd
>> syslog-ng
>> sysstat
>> xinetd
>>
>> Also you should know that if you have a graphical machine
>> (kde/gnome) then you are in lvl 5. If you boot in text mode you
>> are in lvl 3.
>> So I have all those services on in lvl 5. If you switch to lvl 3
>> there might be others on.
>>
>>
>>
>> On Wed, Oct 1, 2008 at 3:20 PM, <edwardspl(a)ita.org.mo
>> <mailto:edwardspl@ita.org.mo>> wrote:
>>
>> Hello,
>>
>> Sorry,
>> My means is "What service must be started-up by using ntsysv
>> command line ?"
>> Then the tool of "system-config-network" is good for work ?
>>
>> BTW:
>> [root@svr1 ~]# /etc/rc.d/init.d/network restart
>> Shutting down interface eth0: [ OK ]
>> Shutting down interface eth1: [ OK ]
>> Shutting down loopback interface: [ OK ]
>> Bringing up loopback interface: [ OK ]
>> Bringing up interface eth0: [ OK ]
>> Bringing up interface eth1: [ OK ]
>> [root@svr1 ~]#
>>
>>
>> Thanks.
>>
>> Edward.
>>
>> Olteanu Eugen wrote:
>>
>>> You dont need to stop anything.. What does :
>>> /etc/init.d/network start say?
>>>
>>> On Wed, Oct 1, 2008 at 2:12 PM, <edwardspl(a)ita.org.mo
>>> <mailto:edwardspl@ita.org.mo>> wrote:
>>>
>>> Hello,
>>>
>>> Would you mind to tell me may be I have stop which
>>> startup services by ntsysv ?
>>> Then the system-config-network can't be good for work ?
>>>
>>>
>>> Thanks !
>>>
>>> Edward.
>>>
>>> Olteanu Eugen wrote:
>>>
>>>>
>>>> Probably you broke smth in there.. try to remove those
>>>> 2 packets and then install them again via yum.
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Oct 1, 2008 at 2:03 PM, <edwardspl(a)ita.org.mo
>>>> <mailto:edwardspl@ita.org.mo>> wrote:
>>>>
>>>> Hello,
>>>>
>>>> Just running the tools :
>>>>
>>>> Error in sys.excepthook:
>>>> Traceback (most recent call last):
>>>> File "/usr/sbin/system-config-network-tui", line
>>>> 120, in <lambda>
>>>> PRG_NAME, PRG_VERSION)
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/exception.py",
>>>> line 332, in handleException
>>>> import gtk
>>>> File
>>>> "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
>>>> line 79, in <module>
>>>> _init()
>>>> File
>>>> "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
>>>> line 67, in _init
>>>> _gtk.init_check()
>>>> RuntimeError: could not open display
>>>>
>>>> Original exception was:
>>>> Traceback (most recent call last):
>>>> File "/usr/sbin/system-config-network-tui", line
>>>> 277, in <module>
>>>> plist = getProfileList()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCProfileList.py",
>>>> line 651, in getProfileList
>>>> __PFList.load()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCProfileList.py",
>>>> line 88, in load
>>>> self.loadprof(pr, profdir)
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCProfileList.py",
>>>> line 101, in loadprof
>>>> devicelist = NCDeviceList.getDeviceList()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCDeviceList.py",
>>>> line 318, in getDeviceList
>>>> __DVList.load()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCDeviceList.py",
>>>> line 78, in load
>>>> hwlist = NCHardwareList.getHardwareList()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCHardwareList.py",
>>>> line 759, in getHardwareList
>>>> __HWList.load()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCHardwareList.py",
>>>> line 603, in load
>>>> self.updateFromSystem()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCHardwareList.py",
>>>> line 483, in updateFromSystem
>>>> self.updateFromHal(hdellist)
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCHardwareList.py",
>>>> line 447, in updateFromHal
>>>> hal = NCBackendHal.NCBackendHal()
>>>> File
>>>> "/usr/share/system-config-network/netconfpkg/NCBackendHal.py",
>>>> line 30, in __init__
>>>> self._dbusBus = dbus.SystemBus()
>>>> File
>>>> "/usr/lib/python2.5/site-packages/dbus/_dbus.py",
>>>> line 200, in __new__
>>>> private=private)
>>>> File
>>>> "/usr/lib/python2.5/site-packages/dbus/_dbus.py",
>>>> line 106, in __new__
>>>> bus = BusConnection.__new__(subclass, bus_type,
>>>> mainloop=mainloop)
>>>> File
>>>> "/usr/lib/python2.5/site-packages/dbus/bus.py",
>>>> line 125, in __new__
>>>> bus = cls._new_for_bus(address_or_type,
>>>> mainloop=mainloop)
>>>> dbus.exceptions.DBusException:
>>>> org.freedesktop.DBus.Error.FileNotFound: Failed to
>>>> connect to socket /var/run/dbus/system_bus_socket:
>>>> No such file or directory
>>>> [root@svr1 ~]#
>>>>
>>>> And the tools seem hang....
>>>>
>>>> Any solution for fixing this problems ?
>>>>
>>>>
>>>> Thanks !
>>>>
>>>> Edward.
>>>>
>>>> Olteanu Eugen wrote:
>>>>
>>>>> Launch : system-config-network-tui
>>>>>
>>>>> On Wed, Oct 1, 2008 at 1:57 PM,
>>>>> <edwardspl(a)ita.org.mo
>>>>> <mailto:edwardspl@ita.org.mo>> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> Just checked the default system :
>>>>>
>>>>> [root@svr1 ~]# rpm -qa | grep
>>>>> "system-config-network"
>>>>> system-config-network-tui-1.5.7-1.fc9.noarch
>>>>> system-config-network-1.5.7-1.fc9.noarch
>>>>> [root@svr1 ~]#
>>>>>
>>>>> So, what else I can do it ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Edward
>>>>>
>>>>>
>>>>> Olteanu Eugen wrote:
>>>>>
>>>>>> yum install system-config-network.noarch
>>>>>> system-config-network-tui.noarch
>>>>>>
>>>>>> Then launch system-config-network-tui.
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 1, 2008 at 1:46 PM,
>>>>>> <edwardspl(a)ita.org.mo
>>>>>> <mailto:edwardspl@ita.org.mo>> wrote:
>>>>>>
>>>>>> Timothy Murphy wrote:
>>>>>>
>>>>>>>edwardspl(a)ita.org.mo <mailto:edwardspl@ita.org.mo> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>After the installation of FC9...
>>>>>>>>I can't running the tool of "system-config-network" for configuring the
>>>>>>>>network setting...
>>>>>>>>
>>>>>>>>
>>>>>>>...
>>>>>>>
>>>>>>>
>>>>>>>>For text mode....
>>>>>>>>How can we config the setting of Networking ?
>>>>>>>>
>>>>>>>>I can modify the ifcfg-ethxxx files, but can't ti find out the
>>>>>>>>modprobe.conf file...
>>>>>>>>
>>>>>>>>Any more help ?
>>>>>>>>
>>>>>>>>
>>>>>>>I'm no expert, but I doubt if you are giving enough information
>>>>>>>for any expert to help.
>>>>>>>Eg are you running NetworkManager
>>>>>>>("chkconfig --list | grep -i net")
>>>>>>>What do you mean by "I cannot run system-config-network"?
>>>>>>>What actually happens if you do try to run it?
>>>>>>>Etc
>>>>>>>
>>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> [root@svr1 ~]# chkconfig --list | grep -i net
>>>>>> NetworkManager 0:off 1:off 2:on 3:on 4:on
>>>>>> 5:on 6:on
>>>>>> netconsole 0:off 1:off 2:off 3:on 4:off
>>>>>> 5:off 6:on
>>>>>> netfs 0:off 1:off 2:off 3:off 4:on 5:on 6:off
>>>>>> netplugd 0:off 1:off 2:off 3:off 4:off
>>>>>> 5:off 6:off
>>>>>> network 0:off 1:off 2:off 3:on 4:off
>>>>>> 5:off 6:on
>>>>>> [root@svr1 ~]#
>>>>>>
>>>>>> So, which services musted be started up
>>>>>> and which packages must be installed,
>>>>>> then we can use system-config-network ?
>>>>>>
>>>>>> Thanks !
>>>>>>
>>>>>> Edward.
>>>>>>
>>>>>> --
>>>>>> fedora-list mailing list
>>>>>> fedora-list(a)redhat.com
>>>>>> <mailto:fedora-list@redhat.com>
>>>>>> To unsubscribe:
>>>>>> https://www.redhat.com/mailman/listinfo/fedora-list
>>>>>> Guidelines:
>>>>>> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
15 years, 6 months