LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-09-2007, 03:16 AM   #61
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145

Quote:
Originally Posted by Lypur
hmmm, interesting, i tried rebooting, and when i came back in, typed ifconfig, and the eth0 was gone, so i reloaded it, it's back up again. Still no browser access to the web....
First: Good that your card is seen

You could put a line to load it at the end of /etc/rc.d/rc.local - I don't know why it has problems loading it in the normal boot process, but it would be at least a workaround so you don't have to type it by hand everytime. Put all commands you needed at the end of that rc.local.

If your card is detected and you restarted rc.inet1 and rc.inet2 you have an address now (don't remember from which one DHCP is done). Is it the same if you start firefox and try to reach a website? From what I know nothing else is needed to use the internet connection that is provided by a router ...
 
Old 03-09-2007, 03:24 AM   #62
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
Quote:
You could put a line to load it at the end of /etc/rc.d/rc.local - I don't know why it has problems loading it in the normal boot process, but it would be at least a workaround so you don't have to type it by hand everytime. Put all commands you needed at the end of that rc.local.
I don't understand...by add a couple lines? What exactly should i put down?
 
Old 03-09-2007, 03:28 AM   #63
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
Also...it's strange suddenly my soundcard stopped working, when i load startx as "root" or "andrew" it comes up with a message at start up

Code:
Sound server information message:
Error while initializing the sound driver:
device: default can't be opened for playback (nosuch file for directory)
The sound server will continue, useing the null output device
Hey i was wondering, do you have MSN messenger by any chance? I'm sure that would be MUCH faster then these forums.
 
Old 03-09-2007, 03:33 AM   #64
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Lypur
I don't understand...by add a couple lines? What exactly should i put down?
For example "modprobe e100". DHCP is called in rc.inet1. So if you wanted to be on the safe side you could add these two lines (as root, with any text editor) to /etc/rc.d/rc.local:

Code:
modprobe e100
/etc/rc.d/rc.inet1 restart
 
Old 03-09-2007, 03:39 AM   #65
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Lypur
Hey i was wondering, do you have MSN messenger by any chance? I'm sure that would be MUCH faster then these forums.
Only ICQ. Although I dont know if that's a good idea. You should post back the solutions here.

EDIT: deleted not needed icq number

Last edited by titopoquito; 03-09-2007 at 04:24 AM.
 
Old 03-09-2007, 03:41 AM   #66
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 just wanna make sure i get this right

So i'd insert the codes

modprobe e100
/etc/rc.d/rc.inet1 restart

right HERE in the code

Code:
#!/bin/sh
#
#/etc/rc.d/rc.local:   Local system initialization script.
#
#Put any local startup commands in here. Also, if youhave
#anything that needs to be run at shutdown time you can
#make an /etc/rc.d/rc.local_shutdownscript and put those 
#commands in there.

so just to get this right, i'd put them here**


Code:
#!/bin/sh
#
#/etc/rc.d/rc.local:   Local system initialization script.
#modprobe e100 /etc/rc.d/rc.inet1 restart 
#Put any local startup commands in here. Also, if youhave
#anything that needs to be run at shutdown time you can
#make an /etc/rc.d/rc.local_shutdownscript and put those 
#commands in there.
like this?

I also found that adding
"/etc/rc.d/rc.inet2 restart" seemed to work.
 
Old 03-09-2007, 03:46 AM   #67
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Lypur
Code:
#!/bin/sh
#
#/etc/rc.d/rc.local:   Local system initialization script.
#
#Put any local startup commands in here. Also, if youhave
#anything that needs to be run at shutdown time you can
#make an /etc/rc.d/rc.local_shutdownscript and put those 
#commands in there.
like this?
Nearly. All lines starting with # are comments and are not executed at all. Create two extra lines at the bottom without the leading #
 
Old 03-09-2007, 03:47 AM   #68
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, when i start up firefox, it still doesn't work. Did you check the eth0 codes i gave you when i typed "dmesg"?
 
Old 03-09-2007, 03:48 AM   #69
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Yep. From that I concluded that the module's name was e100.

About the other lines, sorry, no clue if a better solution exists

Last edited by titopoquito; 03-09-2007 at 03:51 AM.
 
Old 03-09-2007, 03:52 AM   #70
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
Code:
ADDRCONF (NETDEV_UP): eth0: link is not ready
e100: eth0: e100_watchdog: link up 100Mbps, full-duplex
ADDRCONF (NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
so what do you think that ment?

(also where should i stick that text in the rc.local file
 
Old 03-09-2007, 03:54 AM   #71
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
whoops! sorry i didn't see that first post you made instructing me on how to edit the rc.local file
 
Old 03-09-2007, 04:02 AM   #72
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, so that'd done (finished writing those modes to rc.local)...any idea what i could do now? when i type ip link
Code:
1|: lo: <LOOPBACK, UP,10000> mtu (more stuff)
2: sit0:<NOARP> mtu (more stuff)
3: eth0: <BROADCAST, MULTICAST,NOT CRAILERS, UP, 10000> mtu
the fact that eth0 is 3rd...would that mean anything?

...garrr i just want internet!!!! damnit! (i'm actually starting to get frustrated with this)

Last edited by Lypur; 03-09-2007 at 04:03 AM.
 
Old 03-09-2007, 04:06 AM   #73
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
I think no, but am not familiar with this command and am surely no network guru

What did you do now? Can you for example reach your router via firefox browser? Have you checked that your internet is working/not working?
 
Old 03-09-2007, 04:12 AM   #74
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
ok, so get this, i can reach my router, but i can't view web pages. I also can't log into any messnenger services etc.
 
Old 03-09-2007, 04:16 AM   #75
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
it's like...it's conected to my router...but it won't let it onto the internet....wtf
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:26 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
Open Source Consulting | Domain Registration