LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-23-2004, 01:03 PM   #1
Markes
LQ Newbie
 
Registered: Feb 2004
Distribution: Fedora, Knoppix, Vector
Posts: 2

Rep: Reputation: 0
Mandrake 10: Internet and Root Login Problem


Total newbie...first post.

Just installed Mandrake 10.0 Community. Having two issues:

1. Internet Connection: PCMCIA ethernet card (Linksys NP100) starts at boot. Log says its started and lights on it and cable modem make me think they are communicating. Mozilla/Konquerer don't work though. I ran configuration and discovered no internet configuration existed. Tried to set up a new one:

a. Clicking "Hardware" brings up a dialog that tells me there's no hardware configured, please select "Hardware". Clicking "Hardware" again brings up the same dialog.
b. Tried clicking "add new", which brought me to a series of dialogs: For connection type, I've tried both "Cable" and "Network" with the same result. It brings me to a second dialog where I have to select the hardware file to attempt. I selected "axnet_cs" which works for this card in my Fedora and Knoppix installations. This brings me to a dialog that tells me the hardware is detected and asks if there is other hardware. Clicking "no" brings up a third dialog with a single radio button marked "manual" I believe. This radio button is selected and cannot be unselected. The only option here is cancel or next. Clicking next brings back the second dialog box in an apparent loop. Clicking cancel cancels out without writing the confuguration. Any ideas?

2. I'd read in another post about listing the file in /etc/modprobe/preload. I thought to try this but can't figure out how to log in as root. The only option at the login screen is the user account I created at install. Root isn't listed as an option. The "users and groups" section of configuration tools seems to allow maintenance of users (including root), but I can't see how I get them onto the login screen.

Thanks.
 
Old 05-23-2004, 01:50 PM   #2
rottie
Member
 
Registered: Oct 2003
Posts: 64

Rep: Reputation: 15
I'm not sure about this but I think you only configured your hardware but not your network.
The startup at bootup is only the hardware that's loaded (compare to windows: the hardware drivers are initialized). This is why it says it's loaded and the lights go on. But you have to configure the TCP/IP (hdcp client etc.) aswell. I think this is not configured, hence you don't have a IP and konqueror wont work.

I don't have mandrake so I can't tell you how you do this there.
 
Old 01-19-2005, 07:37 PM   #3
smsaling
LQ Newbie
 
Registered: Jan 2005
Location: NW Fl
Distribution: Fadora Core
Posts: 4

Rep: Reputation: 0
Post np100 linux directions

Why no one looks on the installation disks for hardware I will never know....anywho, the following is the installation directions from the installation disk for this PC card:



1. Introductions
This document briefly describes how to use the Fast Ethernet 10/100 PC Card
in a Linux operating system. To make use of the Fast Ethernet 10/100 PC Card,
you need to install the PCMCIA Card Services which responds to card
insertion and removal events, loading and unloading drivers on demand.

Next section discusses the installation of the PCMCIA Card Services as
well as the configuration of LAN cards.

2. Installing the PCMCIA Card Services
Card Serives for Linux is written by David Hinds
<dhinds@hyper.stanford.edu>. It is now a part of many of the Linux
distributions, like RedHat and Slackware. You need to install it into
your Linux system for use of the PCMCIA or "PC Card". The source version
is available at <hyper.stanford.edu> in the "/pub/pcmcia" dirctory,as
"pcmcia-cs-x.tar.gz". Replace "x" with the version number of the latest
package.

To install the PCMCIA Card Services, you need to install a full kernel
source and do the following shell commands:

#tar zxvf pcmcia-cs-x.tar.gz
#cd pcmcia-cs-x
#./Configure
#make all
#make install

Generally, you don't need to change any default selections when you run
"./Configure" to configure the compiled environment. But if you want to
use Card Bus adapter, enable the (CardBus) option.

2.1 Configuration for LAN cards
For LAN card users, you need to use editor to edit the file
"/etc/pcmcia/network.opts" to assign IP address, netmask, gateway IP,
nameservers,broadcast address, and etc. after the Card Services
installation. A part of the file "network.opts" is as listed which is
mandatory setup for the TCP/IP of your Linux machine:

#File: /etc/pcmcia/network.opts
#
#
#
#Host's IP address, netmask, network address, broadcast address
IPADDR="1.2.3.4"
NETMASK="255.255.255.0"
NETWORK="1.2.3.0"
BROADCAST="1.2.3.255"
#Gateway address for static routing
GATEWAY="1.2.3.254"
#Things to add to /etc/resolv.conf for this interface
DOMAIN="your.domain"
SEARCH=""
DNS_1=""
DNS_2=""
DNS_3=""
#
#

Remember to reboot your Linux machine for the Card Services after
installation.

Now you should have the PCMCIA Card Services installed correctly.
If the Card Service is not installed properly, please see the
"PCMCIA-HOWTO" for the details in the root directory of the Card
Services source code to resolve installation and configuraton
problems.
 
Old 01-19-2005, 07:53 PM   #4
smsaling
LQ Newbie
 
Registered: Jan 2005
Location: NW Fl
Distribution: Fadora Core
Posts: 4

Rep: Reputation: 0
I am new to linux, like a week into it - My question is this...where do I get a"A 2.0.*, 2.1.*, or 2.2.* series kernel source tree." and is it just one file, or multipule? I am at "ftp://sunsite.unc.edu/pub/linux/kernel.org/pub/linux/kernel/v2.2/" and I see like 40 diffrent .tar.gz files, do I need to get and install each one?
 
Old 01-19-2005, 08:43 PM   #5
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
smsaling
Quote:
I am new to linux, like a week into it - My question is this...where do I get a"A 2.0.*, 2.1.*, or 2.2.* series kernel source tree."
You only want the kernel source for the kernel you have installed.
Here is how to determine what kernel you have and how to intall the source in Mandrake.
If your kernel is listed as different than mine, simply substitute your version in the urpmi command.
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ cd /lib/modules
[don@x1-6-00-0a-e6-91-be-32 modules]$ ls
2.6.8.1-12mdk/
[don@x1-6-00-0a-e6-91-be-32 modules]$ su
Password:
[root@x1-6-00-0a-e6-91-be-32 modules]# urpmi 2.6.8.1-12mdk
The following packages contain 2.6.8.1-12mdk:
kernel-doc
kernel-source-2.6
kernel-source-stripped-2.6
[root@x1-6-00-0a-e6-91-be-32 modules]# urpmi kernel-source-2.6

    ftp://sunsite.icm.edu.pl/pub/Linux/m...12mdk.i586.rpm
installing /var/cache/urpmi/rpms/kernel-source-2.6-2.6.8.1-12mdk.i586.rpm
Preparing...                ##################################################
   1:kernel-source-2.6      ##################################################
[root@x1-6-00-0a-e6-91-be-32 modules]#

Last edited by Lakota; 01-19-2005 at 08:46 PM.
 
Old 01-21-2005, 07:19 PM   #6
smsaling
LQ Newbie
 
Registered: Jan 2005
Location: NW Fl
Distribution: Fadora Core
Posts: 4

Rep: Reputation: 0
Question

I have RedHat 9.0, like I said I am new to this. I noticed in my ...etc/pcmcia/network file that there is no network.opts, will this come in the kernal package or do I need to find that file for my version sepertly? I am trying to get this pc card to work, but with limited (very limited) linux knowladge...anyone please help in laymens tearms....?!?!!?!
 
Old 01-22-2005, 05:22 PM   #7
smsaling
LQ Newbie
 
Registered: Jan 2005
Location: NW Fl
Distribution: Fadora Core
Posts: 4

Rep: Reputation: 0
Exclamation pcmcia and linux

A page that might help with anyone having issues with there pc cards...


http://freshmeat.net/projects/pcmcia-cs
 
  


Reply



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
disallow ssh root login only from internet wensveen Linux - Security 10 03-21-2005 07:34 AM
Login as root Mandrake 9.1? Coolrunr Linux - Distributions 7 11-25-2004 11:05 PM
how to login as root?? mandrake 10.0 m0rbid Linux - Newbie 3 08-18-2004 03:26 AM
Cannot login as root on mandrake 9.2 mrsteve Mandriva 1 02-27-2004 02:30 AM
when I login not as root, it does not connet to internet........ help broodman Linux - Networking 9 07-27-2003 11:13 AM

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

All times are GMT -5. The time now is 07:04 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