[CentOS] Troubles with NetworkManager

2008-09-07 Thread ABBAS KHAN
NetworkManager used to work fine for me but during the last few
installations its a big hurdle in the wireless connectivity.
I'm using Madwifi and its interface is correctly listed and working but I
cannot connect to any wifi AP without NetworkManager. I've two interfaces:
eth0 and wifi0. Starting NetworkManager doesn't show any notification icon
in the top right in gnome and I believe its only activating the ath0 instead
of wireless interface wifi0 but still I am unable to see any of the
notification icon in the gnome as I was used to in past for any of the NICs.
The error which I recieve upon logging into the gnome is:

The NetworkManager applet could not find some required resources. It cannot
conitnue.

But still, there are no errors in the syslogs besides the below ones
particularly *localhost NetworkManager: WARNING
nm_device_802_11_wireless_scan (): could not trigger wireless scan on device
ath0: Network is down*.

Thanks in advance for the helpout.





[EMAIL PROTECTED] abbask]# grep -A 2 -B2 NetworkManager /var/log/messages |
tail -60
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 1 of 5 (Device Prepare) started...
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 2 of 5 (Device Configure) scheduled...
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 1 of 5 (Device Prepare) complete.
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 2 of 5 (Device Configure) starting...
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 2 of 5 (Device Configure) successful.
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 3 of 5 (IP Configure Start) scheduled.
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 2 of 5 (Device Configure) complete.
Jan 15 05:35:31 localhost NetworkManager: information Activation (eth0)
Stage 3 of 5 (IP Configure Start) started...
Jan 15 05:35:31 localhost dhclient: wifi0: unknown hardware address type 801
Jan 15 05:35:31 localhost dhclient: wifi0: unknown hardware address type 801
--
Jan 15 05:35:31 localhost NET[6581]: /sbin/dhclient-script : updated
/etc/resolv.conf
Jan 15 05:35:31 localhost dhclient: bound to 13.13.13.4 -- renewal in 1581
seconds.
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Beginning DHCP transaction.
Jan 15 05:35:32 localhost dhclient: wifi0: unknown hardware address type 801
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Stage 3 of 5 (IP Configure Start) complete.
Jan 15 05:35:32 localhost NetworkManager: information DHCP daemon state is
now 12 (successfully started) for interface eth0
Jan 15 05:35:32 localhost NetworkManager: information DHCP daemon state is
now 1 (starting) for interface eth0
Jan 15 05:35:32 localhost dhclient: wifi0: unknown hardware address type 801
Jan 15 05:35:32 localhost avahi-daemon[5154]: New relevant interface
eth0.IPv6 for mDNS.
--
Jan 15 05:35:32 localhost dhclient: DHCPREQUEST on eth0 to
255.255.255.255port 67
Jan 15 05:35:32 localhost dhclient: DHCPACK from 13.13.13.3
Jan 15 05:35:32 localhost NetworkManager: information DHCP daemon state is
now 4 (reboot) for interface eth0
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Stage 4 of 5 (IP Configure Get) scheduled...
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Stage 4 of 5 (IP Configure Get) started...
Jan 15 05:35:32 localhost dhclient: bound to 13.13.13.4 -- renewal in 1438
seconds.
Jan 15 05:35:32 localhost dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.host_name
--
Jan 15 05:35:32 localhost dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
Jan 15 05:35:32 localhost dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
Jan 15 05:35:32 localhost NetworkManager: information Retrieved the
following IP4 configuration from the DHCP daemon:
Jan 15 05:35:32 localhost NetworkManager: information   address 13.13.13.4
Jan 15 05:35:32 localhost NetworkManager: information   netmask
255.255.255.0
Jan 15 05:35:32 localhost NetworkManager: information   broadcast
13.13.13.255
Jan 15 05:35:32 localhost NetworkManager: information   gateway 13.13.13.3
Jan 15 05:35:32 localhost NetworkManager: information   nameserver
13.13.13.3
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Stage 5 of 5 (IP Configure Commit) scheduled...
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Stage 4 of 5 (IP Configure Get) complete.
Jan 15 05:35:32 localhost NetworkManager: information Activation (eth0)
Stage 5 of 5 (IP Configure Commit) started...
Jan 15 05:35:32 localhost avahi-daemon[5154]: Withdrawing address record for
13.13.13.4 on eth0.
Jan 15 05:35:32 localhost 

[CentOS] Crash recovery

2008-08-23 Thread ABBAS KHAN
While playing with the graphic card drivers, I broke up the system and now
I've a kernel panic with not syncing error.
I did backup the system with mondorescue  but I forgot to write the iso
image files to the DVD rom. Can I burn the ISO file in rescue mode or in
CentOS livecd environment? Already tried in the LiveCD env, but, as soon as
I eject the live CD to put a blank DVD, the system halts !
Are there any other options available?
Please advise.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Crash recovery

2008-08-23 Thread ABBAS KHAN
Yep, gives the same kernel panic there as well unfortunately...



On Sat, Aug 23, 2008 at 12:53 PM, John R Pierce [EMAIL PROTECTED] wrote:

 ABBAS KHAN wrote:

 While playing with the graphic card drivers, I broke up the system and now
 I've a kernel panic with not syncing error.
 I did backup the system with mondorescue  but I forgot to write the iso
 image files to the DVD rom. Can I burn the ISO file in rescue mode or in
 CentOS livecd environment? Already tried in the LiveCD env, but, as soon as
 I eject the live CD to put a blank DVD, the system halts !
 Are there any other options available?



 can you boot up in single user?  you should be able to burn the CD there


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos on intel D945GCLF board

2008-08-19 Thread ABBAS KHAN
I've Intel DG31PR with almost same Realtek chipset. Disabling / enabling on
board LAN from the BIOS works flawlessly.
You can make sure if the board is certified at hardware.redhat.com.
I guess to test kernal you can use CentOS Live CD and the dmesg tool as
well.

Good luck!



On Tue, Aug 19, 2008 at 6:22 AM, Janez Košmrlj [EMAIL PROTECTED] wrote:

 Hi,
 I am trying to install centos on the intel D945GCLF board. It's a mini-ITX
 board with the atom processor and it uses the Realtek RTL8102EL LAN chipset.
 When I disable the on-board LAN card it installs  and runs OK, but when I
 enable it, I get kernel panic at boot.
 The board runs perfectlj with Fedora 9 (with the latest kernel) or with
 Ubuntu server.

 My question is: is there some way to run centos on this board (test kernel,
 i can try for example)?


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Is there a way to save the routing table permanently?

2008-08-19 Thread ABBAS KHAN
I'm adding the default gateway to the route through route add default gw
10.10.10.10 which is also shown in route -n but the problem is that as
soon as I restart the network through /etc/init.d/network restart; the route
sets to default one...!
SO, my question is there any way to save the modified route permanently by
hardcoding the changes?

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos on intel D945GCLF board

2008-08-19 Thread ABBAS KHAN
Is this the kernel module used for the LAN card driver?

*r8169


*


On Tue, Aug 19, 2008 at 7:11 AM, Janez Košmrlj [EMAIL PROTECTED] wrote:

 I tried kernel-2.6.18-92.1.10.el5.x86_64.
 I know of the driver on the Intel page, but I would like a system that
 works out of the box. So I can update it any time, since this system will be
 a router and it will be connected to the internet 24/7.


 
 http://mirror.centos.org/centos/5.2/updates/x86_64/RPMS/kernel-2.6.18-92.1.10.el5.x86_64.rpm


 ABBAS KHAN wrote:

 Here is the driver, provided for Intel for the board.

 http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2916DwnldID=16242lang=eng
 http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2916DwnldID=16242lang=eng
 

 You can compile it and give it a try as a last resort, if everything else
 fails.
 Could you please tell the version of kernal you're using?
 A simple search showed that this LAN card has a lot of issues with kernal.

 Thanks.





 On Tue, Aug 19, 2008 at 6:38 AM, Janez Košmrlj [EMAIL PROTECTED]mailto:
 [EMAIL PROTECTED] wrote:

I know that disabling the LAN in BIOS works. The problem is that I
need the on-board card, since I am trying to build a home router
and I need 2 LAN cards for that. And the board has only one PCI slot.

ABBAS KHAN wrote:

I've Intel DG31PR with almost same Realtek chipset. Disabling
/ enabling on board LAN from the BIOS works flawlessly.
You can make sure if the board is certified at
hardware.redhat.com http://hardware.redhat.com
http://hardware.redhat.com.

I guess to test kernal you can use CentOS Live CD and the
dmesg tool as well.

Good luck!



On Tue, Aug 19, 2008 at 6:22 AM, Janez Košmrlj
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:

   Hi,
   I am trying to install centos on the intel D945GCLF board.
It's a
   mini-ITX board with the atom processor and it uses the Realtek
   RTL8102EL LAN chipset. When I disable the on-board LAN card it
   installs  and runs OK, but when I enable it, I get kernel
panic at
   boot.
   The board runs perfectlj with Fedora 9 (with the latest
kernel) or
   with Ubuntu server.

   My question is: is there some way to run centos on this board
   (test kernel, i can try for example)?


   ___
   CentOS mailing list
   CentOS@centos.org mailto:CentOS@centos.org
mailto:CentOS@centos.org mailto:CentOS@centos.org

   http://lists.centos.org/mailman/listinfo/centos



  



___
CentOS mailing list
CentOS@centos.org mailto:CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org mailto:CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


 

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Is there a way to save the routing table permanently?

2008-08-19 Thread ABBAS KHAN
Thats the config file, I was looking for.
Thanks Tom.
Worked like a charm :)





On Tue, Aug 19, 2008 at 6:48 AM, Tom Diehl [EMAIL PROTECTED] wrote:

 On Tue, 19 Aug 2008, ABBAS KHAN wrote:

  I'm adding the default gateway to the route through route add default gw
 10.10.10.10 which is also shown in route -n but the problem is that as
 soon as I restart the network through /etc/init.d/network restart; the
 route
 sets to default one...!
 SO, my question is there any way to save the modified route permanently by
 hardcoding the changes?


 There are several ways, actually.

 System-config-network is one way, or if like me you prefer to edit the
 config
 files by hand you can edit the files in
 /etc/sysconfig/network-scripts/ifcfg-eth*
 or the file /etc/sysconfig/network. There needs to be a GATEWAY= line in
 one of
 those files. If you have an existing GATEWAY line modify it to taste. If
 you
 have no default gateway I would suggest putting it in
 /etc/sysconfig/ifcfg-eth?.
 Where the ? corresponds to the interface that points to the gateway.

 Hope this helps.

 Regards,

 --
 Tom Diehl   [EMAIL PROTECTED] Spamtrap address
 [EMAIL PROTECTED]

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Where is cached memory going?

2008-08-19 Thread ABBAS KHAN
As by the time, I've learned that Linux works by caching apps by using a lot
of RAM and then it reallocates the new stuff by cleaning the old cached
pages from memory as compared to other OSs. With 2 gigs of RAM often I see
the free memory only as 100-400MB. Using TOP or PS, it doesn't look like any
program or process is using excessive memory (the highest process is seen
with 1-2% total memory). *So, my questions are:*

 what programs are using that much of memory? (or cached memory)
Is that really due to a lot of cache in the memory
*if yes, then, is there a way to parse the cache to findout what
applications are eating up the cache?*
*how to free the cached memory?*



*Currently, here are the details:*

Top two high mem processes only using 2.6% of RAM.

[EMAIL PROTECTED] ~]# ps aux | sort -nrk4 | head -2
abbask5922  0.0  1.4 364300 28312 ?SAug19   0:00
/usr/bin/python -E /usr/bin/sealert -s
ntop  4914  0.0  1.2 332752 24760 ?Ssl  Aug19   0:00 ntop -d -L
@/etc/ntop.conf


[EMAIL PROTECTED] ~]# head -5 /proc/meminfo
MemTotal:  1913856 kB
MemFree:500612 kB
Buffers:169720 kB
Cached: 751000 kB
SwapCached:  0 kB


[EMAIL PROTECTED] ~]# free -m
 total   used   free sharedbuffers cached
Mem:  1869   1380488  0165733
-/+ buffers/cache:480   1388
Swap: 1983  0   1983


*Total percentage memory for all the processes, being used is 15.5% only.


[EMAIL PROTECTED] ~]# ps aux | awk '{print $4}' | grep [0-9] | tr -s \n + |
awk '{print $1 0 }' | bc
15.5*

*
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Is there a way to save the routing table permanently?

2008-08-19 Thread ABBAS KHAN
Thanks Bob for the additional tip :)




On Tue, Aug 19, 2008 at 9:28 AM, Bob Beers [EMAIL PROTECTED] wrote:

 IIANM, you can also use /etc/sysconfig/network-scripts/route-eth*, no?

 Take a look at /etc/sysconfig/network-scripts/ifup-routes script.

 -Bob
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos on intel D945GCLF board

2008-08-19 Thread ABBAS KHAN
Thats what I wanted to know and thats exactly what I saw people complaining
about this card's incompatibility with kernel.
If you have time to work on the issue, if you want to find out the bottom
causes and if compiling the new driver doesn't help; you can boot to Fedora
and get the Kernel version and the driver's module number and then switch
back to CentOS, try to load the same module
(i hope it would be also in CentOS under /lib/modules/) through modprobe and
then the same kernel environment, if possible - since you already told that
Fedora's drivers work fine for you!

I hope this helps!





On Tue, Aug 19, 2008 at 7:49 AM, Janez Košmrlj [EMAIL PROTECTED] wrote:

 Here is the lspci output from the machine:

 [EMAIL PROTECTED]:~# lspci
 00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub
 (rev 02)
 00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated
 Graphics Controller (rev 02)
 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
 Definition Audio Controller (rev 01)
 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
 1 (rev 01)
 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
 3 (rev 01)
 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
 4 (rev 01)
 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
 Controller #1 (rev 01)
 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
 Controller #2 (rev 01)
 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
 Controller #3 (rev 01)
 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
 Controller #4 (rev 01)
 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
 Controller (rev 01)
 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
 Interface Bridge (rev 01)
 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
 Controller (rev 01)
 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA
 IDE Controller (rev 01)
 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev
 01)
 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI
 Express Fast Ethernet controller (rev ff)
 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
 RTL-8139/8139C/8139C+ (rev 10)

 the RTL-8139 is the secondary card pluged in the pci slot ad this one works
 ok.

 And yes this is the module.

 And to Michael. I know of the disabling on-board LAN workaround, but i need
 two LAN cards.


 ABBAS KHAN wrote:

 Is this the kernel module used for the LAN card driver?

 /*r8169

 */


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Where is cached memory going?

2008-08-19 Thread ABBAS KHAN
An awesome reply.
Makes sense!

Thanks.




On Tue, Aug 19, 2008 at 9:42 AM, David Dyer-Bennet [EMAIL PROTECTED] wrote:


 On Tue, August 19, 2008 11:31, ABBAS KHAN wrote:
  As by the time, I've learned that Linux works by caching apps by using a
  lot
  of RAM and then it reallocates the new stuff by cleaning the old cached
  pages from memory as compared to other OSs. With 2 gigs of RAM often I
 see
  the free memory only as 100-400MB. Using TOP or PS, it doesn't look like
  any
  program or process is using excessive memory (the highest process is seen
  with 1-2% total memory). *So, my questions are:*
 
   what programs are using that much of memory? (or cached memory)

 It's very likely being used as disk cache.  You can get some more numbers
 by running top, and looking at the last two lines of the headers.  I
 routinely see over 1GB of cache on a not very active 4GB system.  Your
 meminfo output is the same numbers, and looks completely normal to me.

 Free memory is *bad*; it means it's being wasted completely.  Memory used
 for disk caching is instantly available if it's suddenly needed for a
 program.

  Is that really due to a lot of cache in the memory
  *if yes, then, is there a way to parse the cache to findout what
  applications are eating up the cache?*

 It's only indirectly tied to an application; it's cached disk blocks.  You
 could say the process that read that file last is responsible, but the
 *next* process to read those blocks is the one that would benefit.

  *how to free the cached memory?*

 Why do you want to?  As I said, free memory is memory that's going to
 waste.  Unless you have severe real-time issues with a process becoming
 runnable where the difference between discarding a clean cached page, and
 just allocating a free page, will make a difference, there's no point.  If
 you DO have that level really extreme real-time performance issues, you
 need to understand the whole virtual memory system an order of magnitude
 better than you seem to.  That's off in a far corner of the Linux
 application space -- Linux can do some real-time stuff, but it's not the
 first choice for hard real-time environments last time I talked to any of
 those people.

 --
 David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
 Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
 Photos: http://dd-b.net/photography/gallery/
 Dragaera: http://dragaera.info

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Where is cached memory going?

2008-08-19 Thread ABBAS KHAN
LOL ! I got that fellows :D

But, I guess, computer geeks don't usually have girl friends and the same I
do!!
Unfortunately :(

LOL




On Wed, Aug 20, 2008 at 1:37 AM, David Dyer-Bennet [EMAIL PROTECTED] wrote:


 On Tue, August 19, 2008 12:06, William L. Maltby wrote:
 
  On Tue, 2008-08-19 at 11:50 -0500, David Dyer-Bennet wrote:

  I don't recall that anybody referred to DASD connected to our IBM
  1401;
  it was just disk.  Were we just a weird corner (I wouldn't swear they
  didn't use some weird term like DASD in the manuals, just that none of
  the
  people I worked with used it)?  Or was that a later term, say from the
  360
  generation?
 
  (When I worked on the 1401, we were in fact well into the 360 generation
  chronologically, just not at the place I was working; that was in 1969,
  and we moved from the 1401 to a DEC PDP-11/20 just a couple of years
  after
  that.)
 
  Ditto here. But our 1401 stuff was being emulated on S360/30. During
  that time, DASD became the lazy acronym used extensively to cover any of
  the then-extant direct-access devices (drums, cylinders, disks -
  euphemistically mounted in pizza ovens (2314/19 IIRC).

 We emulated the 1401 on the DEC 11/20 for a while, first with a standalone
 emulator, later with a run-time system that integrated into RSTS and let
 us run the 1401 applications under time-sharing.

 I think of drums as being generally *before* then, and what are cylinders
 that differs from drums?  But it *does* actually make sense to have a
 generic term for that class of storage; we just didn't have enough
 examples to need it, and DASD sounds stupid :-), and as an IBM mainframe
 term wasn't something we wanted to emulate.

 I suppose we're getting a bit far off-topic, but thanks for the stroll
 down memory lane!
 --
 David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
 Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
 Photos: http://dd-b.net/photography/gallery/
 Dragaera: http://dragaera.info

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos on intel D945GCLF board

2008-08-19 Thread ABBAS KHAN
Cheers!



On Tue, Aug 19, 2008 at 12:55 PM, Janez Košmrlj [EMAIL PROTECTED]wrote:

 OK, I downloaded the driver from Realtek homepage and build the modules and
 it works now. Thanks for the patience to everybody.


 Janez Košmrlj wrote:

 I don't have fedora installed on the machine any more. But if i understand
 correctly, if compiling the driver doesn't work, i can copy the module from
 a fedora machine and replace the current one?

 ABBAS KHAN wrote:

 Thats what I wanted to know and thats exactly what I saw people
 complaining about this card's incompatibility with kernel.
 If you have time to work on the issue, if you want to find out the bottom
 causes and if compiling the new driver doesn't help; you can boot to Fedora
 and get the Kernel version and the driver's module number and then switch
 back to CentOS, try to load the same module
 (i hope it would be also in CentOS under /lib/modules/) through modprobe
 and then the same kernel environment, if possible - since you already told
 that Fedora's drivers work fine for you!

 I hope this helps!





 On Tue, Aug 19, 2008 at 7:49 AM, Janez Košmrlj [EMAIL PROTECTED]mailto:
 [EMAIL PROTECTED] wrote:

Here is the lspci output from the machine:

[EMAIL PROTECTED]:~# lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory
Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ
Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI
Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI
Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI
Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family)
USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7
Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus
Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8101E PCI Express Fast Ethernet controller (rev ff)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)

the RTL-8139 is the secondary card pluged in the pci slot ad this
one works ok.

And yes this is the module.

And to Michael. I know of the disabling on-board LAN workaround,
but i need two LAN cards.


ABBAS KHAN wrote:

Is this the kernel module used for the LAN card driver?

/*r8169

*/


___
CentOS mailing list
CentOS@centos.org mailto:CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


 

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Is there a way to save the routing table permanently?

2008-08-19 Thread ABBAS KHAN
Currently, only one NIC wifi0.
AFAIK, /etc/rc.local will only be executed once after other init scripts.
And this reverts the changes to default after restarting the network.

Thanks.




On Tue, Aug 19, 2008 at 10:22 PM, Rob Townley [EMAIL PROTECTED] wrote:

 On Tue, Aug 19, 2008 at 11:32 AM, ABBAS KHAN [EMAIL PROTECTED] wrote:

 Thanks Bob for the additional tip :)





 On Tue, Aug 19, 2008 at 9:28 AM, Bob Beers [EMAIL PROTECTED] wrote:

 IIANM, you can also use /etc/sysconfig/network-scripts/route-eth*, no?

 Take a look at /etc/sysconfig/network-scripts/ifup-routes script.

 -Bob
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 How many NICs?
 SELinux?

 When you have SELinux, two NICs each that would use two different gateways,
 system-config-network is worthless whether using the GUI or text based one.
 The route will not stay permanent.  ifup would not process either route.ethX
 nor ethX.route - at least not enough for it to show in route.  Had to set
 the routes in /etc/rc.local.   Of course, you can't set two default
 gateways, but you can add two routes via something like the following:

 route add -net 0.0.0.0 netmask 0.0.0.0 gw a.b.c.ddev eth0
 route add -net 0.0.0.0 netmask 0.0.0.0 gw w.x.y.zdev eth1


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Boot CentOS 5 to command line

2008-08-18 Thread ABBAS KHAN
Hi fellows,

Pretty new to CentOS.
I was trying to find a way to boot CentOS into command prompt instead of GUI
(or without loading any services).
Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at
mounting and doing fstab and doesn't proceed further.
Is there anyother way to boot CentOS into command prompt without using
Rescue option from the installation CD?

Thanks.

Best.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot CentOS 5 to command line

2008-08-18 Thread ABBAS KHAN
Thanks you :)




On Mon, Aug 18, 2008 at 12:33 PM, Bobby [EMAIL PROTECTED] wrote:

 On Monday 18 August 2008 14:46:22 ABBAS KHAN wrote:
  Hi fellows,
 
  Pretty new to CentOS.
  I was trying to find a way to boot CentOS into command prompt instead of
  GUI (or without loading any services).
  Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen
 at
  mounting and doing fstab and doesn't proceed further.
  Is there anyother way to boot CentOS into command prompt without using
  Rescue option from the installation CD?
 
  Thanks.
 
  Best.

 Then there is the temporary method for when you forget the passwd. Or
 simply
 want to get into single user mode. Which is to add the word single to the
 kernel boot line (if you are using GRUB boot loader, which is default in
 CentOS).

 When GRUB appears press any key to stop the automatic countdown.
 Select the kernel to boot from and press e for edit.
 Then cursor down to the line that starts with kernel (usually the 2nd
 line),
 and press e to edit that line. Go to the end of the line and add a space
 and
 the word single.
 Press Enter to accept your change, and b to boot.
 It will now boot with your change.

 Please note, since we did not actually alter the config file it will not
 retain this change at any subsequent boots.

 --

 Bobby
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos