LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-27-2007, 06:33 PM   #1
ttaghattass
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Rep: Reputation: 15
Exclamation I can't Login as ROOT !!!?


I have Mandrivalinx 2007 With Kernel-2.6.17.5mdv
- Motherboard Type: MSI K9n6GM -V series with NVIDIA GeForce MCP61(V/S/P)
-Processor AMD Athlon 64 X2 4200+ am2 Socket
-1GB memory 533
- SATA HD 160GB Western Digital ( C:Primary F: Primary D: & E: Logically )For Windows And ( / on sda7 and Swap on sda8 )
- LG DVD RAM writer (HL-DT-ST DVDRAM GSA-H10N )

I have some problem with the linux

1- The system can not feel the sound card

2- The system can not the Ethernet cards on board

3- I can not see the DVD when I opening its folder
( there is no response when I but any media on it )

4- I can not Login as ROOT

what can I do to solve that problems

Thank you for any one will try to help me

Tamer
 
Old 03-27-2007, 06:45 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Give Mandriva One a try. It's Mandriva that runs from cd. If your system runs that with no problems, you can always install it to the drive.
 
Old 03-28-2007, 10:51 AM   #3
mrballcb
LQ Newbie
 
Registered: Mar 2007
Location: Los Angeles, CA
Distribution: CentOS, Mandriva, Gentoo
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by ttaghattass
2- The system can not the Ethernet cards on board
4- I can not Login as ROOT
I'll help with the two problems that I know about.

2. Show us the output of 'lspcidrake'. That will show us two things (what hardware you have and what driver Mandriva thinks it should use). Also show us your /etc/modules.conf by running 'cat /etc/modules.conf' and we'll see if that module is configured properly.

4. root login is disabled if you select "Higher" or "Paranoid" security level. The only way to become root is to 'su -' from a regular user login. If you select the "Paranoid" security level, there is an extra security setting that 'su -' will only work if your user account is part of the "wheel" group. Your options are to either get used to using 'su -' to become root, or to lower your security level with 'draksec' to either "Standard" or "High". For reference, it is considered very dangerous to login as root because you can destroy your system with an accidental "drag and drop" of some important directory when in the file browser. It's recommended that you login as a regular user and 'su -' when you need to do tasks that require root access. You just happened to choose a security level that *enforces* that recommendation.

Enjoy!
 
Old 03-29-2007, 12:21 AM   #4
ttaghattass
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
dear mrballcb
thank u for you replay

I tried to login as root and my try is successful but I don't know why

I added an Intel EtherExpress card to try to access the net through linux but no way the system can not access the DVD & CD drivers to install some package

when I tried "lspcidrake" I gut the following


unknown : nVidia Corporation|MCP61 Memory Controller [MEMORY_RAM]
unknown : nVidia Corporation|MCP61 LPC Bridge [BRIDGE_ISA]
unknown : nVidia Corporation|MCP61 SMBus [SERIAL_SMBUS]
unknown : nVidia Corporation|MCP61 Memory Controller [MEMORY_RAM]
usb-ohci : nVidia Corporation|MCP61 USB Controller [SERIAL_USB]
ehci-hcd : nVidia Corporation|MCP61 USB Controller [SERIAL_USB]
unknown : nVidia Corporation|MCP61 PCI bridge [BRIDGE_PCI]
unknown : nVidia Corporation|MCP61 High Definition Audio
amd74xx : nVidia Corporation|MCP61 IDE [STORAGE_IDE]
forcedeth : nVidia Corporation|MCP61 Ethernet [BRIDGE_OTHER]
sata_nv : nVidia Corporation|MCP61 SATA Controller [STORAGE_IDE]
unknown : nVidia Corporation|MCP61 PCI Express bridge [BRIDGE_PCI]
unknown : nVidia Corporation|MCP61 PCI Express bridge [BRIDGE_PCI]
unknown : nVidia Corporation|MCP61 PCI Express bridge [BRIDGE_PCI]
unknown : nVidia Corporation|GeForce 6100 nForce 405 [DISPLAY_VGA]
unknown : Advanced Micro Devices|K8 [Athlon64/Opteron] HyperTransport Technology Configuration [BRIDGE_HOST]
unknown : Advanced Micro Devices|K8 [Athlon64/Opteron] Address Map [BRIDGE_HOST]
unknown : Advanced Micro Devices|K8 [Athlon64/Opteron] DRAM Controller [BRIDGE_HOST]
amd64-agp : Advanced Micro Devices|K8 [Athlon64/Opteron] Miscellaneous Control [BRIDGE_HOST]
eepro100 : Intel Corp.|EtherExpress PRO/100+ [NETWORK_ETHERNET]
hub : Linux 2.6.17-5mdv ehci_hcd|EHCI Host Controller [Hub|Unused]
hub : Linux 2.6.17-5mdv ohci_hcd|OHCI Host Controller [Hub|Unused]
unknown : Vimicro Corp.|PC Camera
usbhid : Logitech, Inc.|Optical Mouse [Human Interface Devices|Boot Interface Subclass|Mouse]

[root@localhost ~]# cat /etc/modules.conf
cat: /etc/modules.conf: No such file or directory
[root@localhost ~]#



this what I finde in the file modules under /etc and there is no modules.conf file

# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.

and I still had no access to my DVD & CD Drivers I hav the error
Unable to find network interface for selected device (using forcedeth driver)

Tamer

Last edited by ttaghattass; 03-29-2007 at 12:33 AM.
 
Old 03-29-2007, 01:16 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
1) For the sound, make yourself a member of the "sound" group. Then install and run "alsaconf". ( It may already be installed. ) Back when I used Mandrake linux, I needed to reduce the timeout for the sound to 2 seconds in the kde sound configuration.

2) forcedeth : nVidia Corporation|MCP61 Ethernet [BRIDGE_OTHER]
eepro100 : Intel Corp.|EtherExpress PRO/100+ [NETWORK_ETHERNET]

These are the network devices. Look at the output of "lsmod" and see if either the eepro100 or forcedeth are present. I looks to me that the module was begin loaded and you may have needed to configure networking instead of trying a different nic device. However, if you don't have a NAT router, you could use your computer instead to provide NAT and a firewall for your lan and use the second NIC device for your LAN, perhaps in the future if you don't have another computer.

3) It's been years since I used Mandrake Linux, so I don't even know if Mandriva uses udev and hal. Often, HAL will recognize the DVD and a udev rule will create a device for it on the fly. If you insert a DVD disc, do you see a popup? Do you have files in /etc/udev? Some distro's use hotplug, and some use hal helper programs and "run" commands in the udev rules instead. You might want to look if you have any packages for HAL or udev that need to be installed. Also, hal communicates with KDE or Gnome using dbus. Do you have a missing dbus package?


Good Luck!

Last edited by jschiwal; 03-29-2007 at 01:18 AM.
 
Old 03-29-2007, 07:04 AM   #6
Pebcak
Member
 
Registered: Jan 2004
Distribution: Debian Stable
Posts: 88

Rep: Reputation: 15
You don't need to log on directly as root and even if its possible you shouldn't be doing that.

Log on with your user account, open a term and type su, then when asked the root password. Any command done in that term is now ran as root
 
Old 03-29-2007, 09:06 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Wink Mounting drives

to access the cdrom, type mount /mnt/cdrom (or the name the cdrom uses in /mnt)

Sometimes you can just type mount -a to mount all mountable devices.

If you type mount you should get a list of mounted devices(mostly drives)

Cheers, Glenn

Last edited by GlennsPref; 03-29-2007 at 09:07 AM.
 
Old 03-29-2007, 03:33 PM   #8
mrballcb
LQ Newbie
 
Registered: Mar 2007
Location: Los Angeles, CA
Distribution: CentOS, Mandriva, Gentoo
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by ttaghattass
eepro100 : Intel Corp.|EtherExpress PRO/100+ [NETWORK_ETHERNET]
root@localhost ~]# cat /etc/modules.conf
cat: /etc/modules.conf: No such file or directory
[root@localhost ~]#
My apologies, I meant to say cat /etc/modprobe.conf. (modules.conf was for the 2.4.* kernels. modprobe.conf is for the 2.6.* kernels).

As one poster said, your card requires you to load the eepro100 module. If you go into Mandrake Control Center (mcc), you can configure your network card and it will take care of configuring your modprobe.conf for you.

Enjoy!
 
Old 03-29-2007, 03:55 PM   #9
ttaghattass
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
dear jshiwal
by the way this my first login to the internet throw mandriva 2007 by intel ethernet card

I want to use my onboard ethrnet NVIDIA !!!!

I tried and I put my self to sound group
but I can't install "alsaconf" I didn't know how to " ISTALL " in linux ( sorry) I'm coming from Windows enviroment!!!! but I know the DOS

[tamer@localhost Desktop]$ alsaconf
bash: alsaconf: command not found
[tamer@localhost Desktop]$

this I think the list mode (lsmod) command

[root@localhost alsaconf]# lsmod

Module Size Used by

ipv6 237120 12

eepro100 28240 0

mii 5664 1 eepro100

af_packet 17960 0

floppy 55172 0

video 13924 0

thermal 11240 0

processor 21448 1 thermal

fan 4036 0

container 3968 0

button 5808 0

battery 8260 0

ac 4292 0

ide_cd 35776 0

binfmt_misc 9800 1

loop 15400 0

nls_iso8859_1 4800 4

nls_cp850 5632 4

vfat 11104 4

fat 46876 1 vfat

supermount 34128 1

tsdev 7040 0

evdev 8864 1

usbmouse 5280 0

usbhid 49024 0

dm_mod 49944 0

amd64_agp 10948 0

agpgart 27240 1 amd64_agp

ehci_hcd 29160 0

ohci_hcd 19012 0

usbcore 113472 5 usbmouse,usbhid,ehci_hcd,ohci_hcd

ext3 124936 2

jbd 51028 1 ext3

sd_mod 18368 8

sata_nv 7332 7

libata 60620 1 sata_nv

scsi_mod 118376 2 sd_mod,libata

[root@localhost alsaconf]#

so there is no forcedeth
I noticed that in the first loading the system faild to starting HAL demon

Quote:
If you insert a DVD disc, do you see a popup?
NO
Quote:
Do you have files in /etc/udev?
NO
Quote:
You might want to look if you have any packages for HAL or udev that need to be installed.
how and from where my DVD is not working!!!!

I got the following error
error-KDE Control module
Called: mount/dev/hdb
mount:special device/dev/hdb dose not exist

Last edited by ttaghattass; 03-29-2007 at 04:02 PM.
 
Old 03-29-2007, 04:04 PM   #10
ttaghattass
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
dear mrballcb
this what I got from the command cat /etc/modprobe.conf

[tamer@localhost Desktop]$ cat /etc/modprobe.conf
install scsi_hostadapter /sbin/modprobe sata_nv; /bin/true
install usb-interface /sbin/modprobe ohci-hcd; /sbin/modprobe ehci-hcd; /bin/true
alias eth0 eepro100
[tamer@localhost Desktop]$

when I tried to config the ethernet carde this error I gotit
Unable to find network interface for selected device (using forcedeth driver).

Last edited by ttaghattass; 03-29-2007 at 04:17 PM.
 
Old 03-30-2007, 06:48 PM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
forcedeth : nVidia Corporation|MCP61 Ethernet [BRIDGE_OTHER]
The first part of this line indicates that the forcedeth module was loaded at the time. Before the colon, is the name of the kernel module sending the message. You could try "modprobe forcedeth"

The "alsaconf" package may not be installed. Try running MCC or "rpmdrake" as root to install it. You could also download the package from the http://rpm.pbone.net website. Use advanced search; click on "clear all"; then select Mandriva 2007.
You could install it then using the command "rpm -Uhv alsaconf-...". I don't know the full name of the package, but you can press the tab key for autocompletion to type in the rest for you. I think that the program to add yourself to a group is called "userdrake". You can get there through the MCC as well. Come to think of it, I don't remember if the group is called audio or sound. I think it is called "audio". That is something I had to do the last time I installed Mandrake Linux. It gave me permission to write to the /dev/dsp device.


If you want to get the onboard nic running and don't want to use 2 NIC devices, maybe if you removed the card you bought, things would work out better. Then the onboard device would be eth0 as you would expect.
 
Old 03-31-2007, 10:30 AM   #12
mrballcb
LQ Newbie
 
Registered: Mar 2007
Location: Los Angeles, CA
Distribution: CentOS, Mandriva, Gentoo
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by ttaghattass
[tamer@localhost Desktop]$ cat /etc/modprobe.conf
install scsi_hostadapter /sbin/modprobe sata_nv; /bin/true
install usb-interface /sbin/modprobe ohci-hcd; /sbin/modprobe ehci-hcd; /bin/true
alias eth0 eepro100
[tamer@localhost Desktop]$

when I tried to config the ethernet carde this error I gotit
Unable to find network interface for selected device (using forcedeth driver).
Ok, I'm going to be a bit verbose here. There are two things that I want you to do. The first is a manual test of the networking setup. The second is configuring the new networking card so that it is permanent IF THE FIRST STEP WORKS.

STEP 1
Code:
su -                      # to become root
/etc/init.d/network stop  # completely shuts down networking
modprobe -r eepro100      # removes driver for Intel networking card
ifconfig -a               # should see no eth devices
modprobe forcedeth        # Good if says nothing
dmesg                     # Long listing, at end will say if the
                          # forcedeth module created an "eth0" device,
ifconfig -a               # Should see an eth0 module with no IP
modprobe -r forcedeth     # Returns networking to clean state
If that part works, then you only need to configure modprobe.conf so that the correct module gets loaded at boottime, and Step 2 will do that.

STEP 2
You can manually configure your networking or use mcc to configure it. Since I know manual methods best, I'll detail that, but feel free to try doing it in mcc. (You have to tell eth0 to use forcedeth instead of eepro100. Doing it in mcc has always frustrated me and I find it easier doing it manually). Become root, then edit the '/etc/modprobe.conf' file and change 'alias eth0 eepro100' to 'alias eth0 forcedeth'. You can also add 'alias eth1 eepro100'. After you edit this file and save it, you need to have the system read in and process those changes by running 'depmod -a'. Change your network cable to connect to your onboard NIC. Now when you do '/etc/init.d/network restart' it should come up with the correct information. Do a complete reboot to verify that it comes up with the correct IP. If it tries to also get an IP for eth1 (the eepro100 card), then you can go into mcc and configure it not to start at boot.

Enjoy!
 
Old 04-02-2007, 03:06 PM   #13
ttaghattass
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
dear mrballcb
I tried step 1 the output is
[root@localhost ~]# /etc/init.d/network stop
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
[root@localhost ~]# modprobe -r eepro100
[root@localhost ~]# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:760 (760.0 b) TX bytes:760 (760.0 b)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost ~]# modprobe forcedeth
[root@localhost ~]# dmesg
Linux version 2.6.17-5mdv (rtp@octopus.mandriva.com) (gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #1 SMP Wed Sep 13 14:32:31 EDT 2006
BIOS-provided physical RAM map:

............. many lines

eth0: no IPv6 routers present
NET: Registered protocol family 4
NET: Registered protocol family 5
90 lines like this eth0: freeing mc frame.

end_request: I/O error, dev fd0, sector 0
71 lines like this eth0: freeing mc frame.

forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.54.
228 lines like this eth0: freeing mc frame.

ACPI: PCI interrupt for device 0000:01:09.0 disabled
[root@localhost ~]# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:760 (760.0 b) TX bytes:760 (760.0 b)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

this output for step 2 after editing /etc/modprobe.conf and add alias eth1 eepro100


[root@localhost ~]# modprobe -r forcedeth
[root@localhost ~]# ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:760 (760.0 b) TX bytes:760 (760.0 b)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 04-02-2007, 04:34 PM   #14
mrballcb
LQ Newbie
 
Registered: Mar 2007
Location: Los Angeles, CA
Distribution: CentOS, Mandriva, Gentoo
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by ttaghattass
[root@localhost ~]# modprobe forcedeth
[root@localhost ~]# dmesg
eth0: no IPv6 routers present
NET: Registered protocol family 4
NET: Registered protocol family 5
90 lines like this eth0: freeing mc frame.

end_request: I/O error, dev fd0, sector 0
71 lines like this eth0: freeing mc frame.

forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.54.
228 lines like this eth0: freeing mc frame.
You are unfortunately going to have problems trying to get this to work in your machine. If you have the skill level, you can try passing various combinations to the linux kernel: noapic, nolapic, noacpi.

You do this at the lilo prompt by passing one or more of those options to the kernel you choose. An example: 'linux noacpi' would probably boot the latest installed linux kernel, but without acpi being enabled. I do not know if any of those options I mentioned above would have any affect on your system. I don't have the hardware to test so I'm unfortunately not going to be any more use to you. :-(

Good luck!
 
Old 04-02-2007, 05:25 PM   #15
ttaghattass
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15
dear mrballcb

Thank you very much for your time trying to help me

I wish to inform you that I will delete this mandriva2007 from my HD and I will try either Fedora core 6 or Gentoo2006-1 because since I install that mandriva after 3 days of trying to install it there are several hardware not working ( ethernet card, sound card, pc camera, DVD writer and CD-Rom )
so thank you again
Tamer
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration