LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2013, 03:52 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 447

Rep: Reputation: 28
Installing network card on slackware


hi guys,

just installed slackware 14 on an old phillips pentium 4
no network card seems to have been found

is there a generic driver i can load (RPM) or do i have to find out exactly what card it is in the machine. Its an old machine and i even battled to find out what driver was used for windows

any help appreciated

thanks
 
Old 08-20-2013, 03:54 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
What's the exact model of the laptop and the output of:
Quote:
/sbin/ifconfig
and

Quote:
/sbin/lspci
 
Old 08-20-2013, 04:22 PM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 447

Original Poster
Rep: Reputation: 28
hiya

its an old slim line desktop...not withit..will post results tomorrow

thanks
sig
 
Old 08-21-2013, 03:58 PM   #4
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 447

Original Poster
Rep: Reputation: 28
hi sycamorex

ok so i redirected output of the two commands to text files.

Why was there no home directory for my user? does slack not create a home directory for users by default?
i had no permissions to save files etc
i logged in with root, created a home director and then used chown to change the home directory to my user account
(that the right way to do this? im trying to do as much as possible from the command line, obviously i cant post to this forum from the command line so i copied them off to my usb key and posted via a windows machine)

how would i mount a directory from the usb key to my command line? so i could copy via command line, i went into the gui to copy the files. also...why can i not startx via my user account? only root.

sorry so many questions

back to my output files:

/sbin/ifconfig

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:11:09:79:d8:b5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18 base 0xe000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 200 (200.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 200 (200.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


/sbin/lspci

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV370 5B60 [Radeon X300 (PCIE)]
01:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV370 [Radeon X300SE]
02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)
02:06.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)

let me know if this helps or if you need me to do something else

thanks thus far
sigint
 
Old 08-22-2013, 01:43 PM   #5
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
Are you using a wired connection? If so, what does running 'dhcpcd eth0' output?

As an aside, using the 'adduser' command takes care of creating a home directory for you when you add your user. As for starting X, make sure that your user has a valid .xinitrc script. You should be able to copy the one in /root/.xinitrc
 
Old 08-22-2013, 03:53 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Originally Posted by sigint-ninja View Post
Why was there no home directory for my user? does slack not create a home directory for users by default?
As mentioned above, you need to create a new user first (command: adduser)


Quote:
Originally Posted by sigint-ninja View Post
i had no permissions to save files etc
i logged in with root, created a home director and then used chown to change the home directory to my user account
(that the right way to do this? im trying to do as much as possible from the command line, obviously i cant post to this forum from the command line so i copied them off to my usb key and posted via a windows machine)
Once you've created a standard user account, only log in as root to perform administrative tasks that require root privileges - for everyday stuff use the standard account

Quote:
Originally Posted by sigint-ninja View Post
how would i mount a directory from the usb key to my command line? so i could copy via command line, i went into the gui to copy the files. also...why can i not startx via my user account? only root.

To mount a usb key from the command line, you need the 'mount' command. First find out the name of the device. Insert the stick and issue fdisk -l. Your usb device will usually be the last one on the list. You can also identify it by the filesystem or size:
Code:
# fdisk -l
....
....
....

Disk /dev/sdj: 16.4 GB, 16434855936 bytes
24 heads, 9 sectors/track, 148608 cylinders, total 32099328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdj1             112    32099327    16049608    c  W95 FAT32 (LBA)
From the above output I can see that my usb stick contains FAT32 system and its size is 16GB.

Now you can mount it, for example:

Code:
mount -t vfat /dev/sdj1 /home/sycamorex/tmp -rw
Try not to startx as root. Once you've created the normal user, log in as the user and issue xwmconfig to choose a desktop environment. After that, startx should work.

Quote:
Originally Posted by sigint-ninja View Post

back to my output files:

/sbin/ifconfig

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:11:09:79:d8:b5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18 base 0xe000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 200 (200.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 200 (200.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


/sbin/lspci

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV370 5B60 [Radeon X300 (PCIE)]
01:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV370 [Radeon X300SE]
02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)
02:06.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)

let me know if this helps or if you need me to do something else

thanks thus far
sigint
Are we talking about wireless or wired connection?
 
Old 09-01-2013, 06:26 AM   #7
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 447

Original Poster
Rep: Reputation: 28
sorry for answering so late...was very busy with other junk

its a wired connection

do i need to produce some output???
 
Old 09-01-2013, 08:33 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Member Response

Hi,
Quote:
Originally Posted by sigint-ninja View Post
sorry for answering so late...was very busy with other junk

its a wired connection

do i need to produce some output???
You can use Slackware Doc Project;
Quote:
Slackware installation: a guide through the whole process of installing and configuring Slackware Linux; written for new and experienced users alike.
And;
Quote:
Hope this helps.
 
  


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
Network card problems in Slackware 12.1 Aled Evans Slackware - Installation 7 07-19-2008 11:29 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
Installing Network Card for DSL on Slackware 10.0. davemar Slackware 8 08-27-2006 06:23 PM
network card install in slackware Barq Linux - Networking 6 09-07-2004 05:02 PM
cant detect network card in slackware chlee Linux - Networking 9 03-28-2003 10:28 PM


All times are GMT -5. The time now is 02:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration