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 03-06-2007, 03:53 PM   #31
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121

Lypur, did you tell us how you want to connect to the Internet? Sorry if I read over it, but I cannot see any cue about that. Do you have an additional router? Or is your computer connected straight, and one more question: DSL or modem?
 
Old 03-06-2007, 04:06 PM   #32
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
Hey, sorry if i didn't give you the info you needed!
I'm conected to a D-link router by a ethernet cable, so it's a wired conection. I get my internet though a DSL highspeed cable line. If you have any more questions just ask!
 
Old 03-06-2007, 04:27 PM   #33
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Please start once again "netconfig". As host name type in "Lypur" or anything, as domain name I'm not sure, I have always used something like "name1.suffix", maybe try "lypur.com" Then choose DHCP. At "DHCP" hostname you don't need to enter anything, just type RETURN here. Twice "OK" and you're done.

I wonder if you're network card is loaded right. Could you please check this: Go to folder /etc/rc.d and type "ls -al". Where does rc.modules point to? You can tell it from the end of the line, after the "->".
If you have huge26.s kernel installed and it points to rc.modules-2.4.33 please do from in that folder:
Code:
rm rc.modules
ln rc.modules-2.6.17.13 rc.modules # there is a file called like this, or isn't it?
/etc/rc.d/rc.udev stop
/etc/rc.d/rc.udev start
Then just to be sure, please make the internet scripts executableand call the internet scripts:
Code:
chmod 755 /etc/rc.d/rc.inet1
chmod 755 /etc/rc.d/rc.inet2

/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start

/etc/rc.d/rc.inet2
And pray Does it change anything?

EDIT: Added the udev restart

Last edited by titopoquito; 03-06-2007 at 04:30 PM.
 
Old 03-06-2007, 04:42 PM   #34
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
K, i did the netconfig again. but, after that I got lost trying to understand what to do next. I went in the folder /etc/rc.d, I found rc.modules, beside that is rc.modules-2.4.33.3 and then the next file is rc.mysqld do you want me to go into the modules or modules-2.4.33.3 file? and once I'm in the right file, I use the find command to find "as-al"?? Or do I do something else? (I'm sorry i'm not so great at all this.) I don't seem to see a file named rc.modules-2.6.17.13? Also, what do you mean when you said
Quote:
EDIT:added the udev restart
?

Last edited by Lypur; 03-06-2007 at 04:44 PM.
 
Old 03-06-2007, 04:50 PM   #35
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Ah, that might be the problem. If I understood you right you installed the "huge26.s" kernel? Put the Slackware CD (number 3 I think, but not sure) or DVD in your drive and mount it (as root usually "mount /mnt/cdrom").
Then install the modules for your kernel (in a future version this will be probably done automatically, but in 11.0 it's not ): "installpkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz"

Go to /etc/rc.d. If you do now "ls -al" you should see one more rc.modules-2.6.17.13. Now execute the first four lines I gave you.

Do the rest afterwards (the inet1 and inet2 stuff).
My last line was just to indicate what I changed in the post (I reedited it), it's nothing you have to execute

EDIT: just fixed some minor typos

Last edited by titopoquito; 03-06-2007 at 04:55 PM.
 
Old 03-06-2007, 05:56 PM   #36
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
I'm actually not sure which kernel i installed when i installed slackware I just followed all the default options, when i boot up it says i'm running the 2.4.33.3 kernel...so what you're saying is. i have to install the 2.6 kernel for my internet to work??? I'll try to do what you said there ^_^
 
Old 03-06-2007, 06:03 PM   #37
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
when i go
Quote:
installpkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz
it says
Code:
cannot install pkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz:
 package does not end in .tgz
Does that mean that my DVDdrive isn't picking up the disk? or that the file name is wrong in some way??
 
Old 03-06-2007, 06:05 PM   #38
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
I think you won't need it but am not sure -- that depends on your network card and if it's supported by the kernel. You could install the 2.6.x kernel, but maybe it's not needed.

When you do "lsmod" do you see something in its output that reminds you of your network card? What model do you have? If in question post the lsmod-output here together with the device's name/type.
 
Old 03-06-2007, 06:17 PM   #39
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by Lypur
when i go it says
Code:
cannot install pkg /mnt/cdrom/extra/linux-2.6.17.13/kernel-modules-2.6.17.13-i486-1.tgz:
 package does not end in .tgz
Does that mean that my DVDdrive isn't picking up the disk? or that the file name is wrong in some way??
The kernel modules are only necessary if you have the right 2.6.x kernel running. If you want to do that, read on (I don't think it would damage your system in any way, but I can give no guarantee).

Go the folder on CD (/mnt/cdrom/extra/linux-2.6.17.13). Then call "pkgtool" - the first option is to install packages from current folder. If you want to install the kernel and its modules select kernel-modules-2.6.17.13-i486-1.

Then go to the folder "/mnt/cdrom/kernel/huge26.s". Do the following:
Code:
cp bzImage /boot/vmlinuz-huge26.s
cp config /boot/config-huge26.s
cp System.map.gz /boot/System.map.gz-huge26.s
This way you won't have any problem with root filesystem support not compiled into the kernel, which would require to make a initrd boot image

Open /etc/lilo.conf in a text editor, copy the section of your Slackware install and change the kernel in the second one from "vmlinuz" to "vmlinuz-huge26.s" and change the name of it to reflect that it will boot the 2.6 kernel. Then execute "/sbin/lilo". If you do not get any errors from LILO, got to /etc/rc.d and execute the few lines I posted about "rc.modules".
If you reboot now you should be presented two kernels in the LILO boot screen.
 
Old 03-06-2007, 06:48 PM   #40
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
yea... i'm officially lost, i don't know what's happening anymore....i think i'm going to just try ubuntu out for a bit and maybe go back to slack when I've got it down a bit more.
 
Old 03-06-2007, 08:42 PM   #41
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
lol, so ubuntu won't even start the X GUI on it. It also seems to lack some functions, like the ability to log into root, I think I'm going to go back to slackware, because at least THAT worked! It's just getting it configured I guess? Since I'm reinstalling Slackware, got any suggestions on how i should install it this time so everything works well off the bat?
 
Old 03-06-2007, 09:35 PM   #42
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
This could be it! (I was reinstalling slackware) and it came to the modem configuration step,


Code:
Modem configureation
This part of the configureation process will create a /dev/modem link pointing to the callout
 device (ttyS0, ttyS1, etc) representing your default modem. 
You can change this link later if you move your modem to a different port. 
If your modem is a PCI card, it will probably use /dev.ttyS4 or higher. 
Please select the callout device which you woudl like to use for your modem:

No modem    donot set a dev/modem link
/dev/ttyS0  (com1: under DOS)
/dev/ttyS1  (com2: under DOS)
/dev/ttyS2  (com3: under DOS)
/dev/ttyS3  (com4: under DOS)
/dev/ttyS4  (PCI modem)
/dev/ttyS5  (PCI modem)
/dev/ttyS6  (PCI modem)
/dev/ttyS7  (PCI modem)
/dev/ttyS8  (PCI modem)
/dev/ttyS9  (PCI modem)
/dev/ttyS10  (PCI modem)
/dev/ttyS11  (PCI modem)
/dev/ttyS12  (PCI modem)
/dev/ttyS13  (PCI modem)
/dev/ttyS14  (PCI modem)
/dev/ttyS15  (PCI modem)
Think this could be the answer to my internet troubles? (before i remember selecting "/dev/ttyS4 (PCI modem)", that's probably why my internet card was on loopback because it wasn't set up for a DHCP....so if that's right, the correct choice would be no modem???

Last edited by Lypur; 03-06-2007 at 09:37 PM.
 
Old 03-06-2007, 10:59 PM   #43
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
anyone?? I've just been keeping my install sitting right here.
 
Old 03-07-2007, 01:28 AM   #44
Lypur
Member
 
Registered: Mar 2007
Location: Prince George , BC, Canada
Distribution: RIght now, it's Slackware 11.0
Posts: 68

Original Poster
Rep: Reputation: 15
so I just went ahead and said "no modem" I installed the huge 2.6.x kernel...everything was going smoothly, then when i typed "startx" it loaded up, and then hit me with a white screen with "bash-3.1$" in the upper left corner...that white screen only takes up the top left hand 1/4 of the screen. and it just stays there. If i type exit, then it brings me back to the regular command line interface. then it says

Code:
could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!

waiting for X server to shutdown FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/"
 refcount is 2, should be 1; fixing.
I tried rebooting and trying again, no luck... I tried installing the package for the 2.6 kernel, that installed just fine , but didn't seem to fix the problem starting up X any ideas?
 
Old 03-07-2007, 04:47 AM   #45
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
When you booted up type "xwmconfig" and choose for example KDE. Then type startx.

"No modem" should be the right option for you since you are connected via a Fast Ethernet Controller.

How did you install the package for the 2.6 kernel? Which package exactly? I ask because if you install the kernel package from /extra/linux-2.6.17.13 you will get not the same kernel as when you choose huge26.s during installation. The latter one has support for more controllers and file systems compiled in. The first one doesn't have this and so many people need to make an initrd image file, else they cannot boot up.
To use the 2.6: Have you installed the modules the way I told you? Read #39 above, maybe to be sure redo the steps (mount cd, use pkgtool to install the modules, then copy the files from CD/kernels/huge26.s). And please post if that changes something with your network.

If you do a fresh install, type in "huge26.s" at the beginning. Don't choose a modem. Choose huge26.s to install. Boot up. Mount the CD and install the modules with pkgtool. Go to /etc/rc.d, remove the old rc.modules symlink and create a new one to rc.modules-2.6.17.13
Generally if your network card is supported that should be really really no big problem.
 
  


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
1st timer, preparing to install mandrake 10 canetoad Linux - Newbie 1 11-13-2004 06:28 PM
Preparing for Install eggoz Linux - Software 3 09-06-2004 05:48 PM
Preparing a system to dual boot Slackware 9.1 and Windows 98 keldivac Linux - Newbie 1 04-14-2004 07:27 PM
Preparing foir the Slackware 9.1 Install AceTech747 Slackware 12 01-30-2004 09:07 PM
Preparing for Linux install dbr1066 Linux - Newbie 7 12-18-2002 04:03 PM


All times are GMT -5. The time now is 04:57 AM.

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