LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-21-2008, 11:02 AM   #16
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168

Some "just work", others have to be configured. Go to the penguin icon on the taskbar, then choose network/Internet > network card configuration. Enter the proper settings for your network.
Good luck. ;-)
 
Old 05-21-2008, 11:34 AM   #17
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
Well apparently my network card isn't functional enough under Knoppix to configure it. The configuration tool asks me whether or not I want it to obtain an IP address automatically. I say yes, since my router is running a DHCP server (and it's working, otherwise I would not be able to post this) and the tool tries to obtain it. It fails, however.
 
Old 05-21-2008, 12:29 PM   #18
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Let's see the ifconfig output.
Code:
#ifconfig -a
Good luck. ;-)
 
Old 05-21-2008, 12:44 PM   #19
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
I removed my MAC address. I'm not really sure, but I thought that was information best not posted onto the internet.

Code:
knoppix@Knoppix:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:342 (342.0 b)
          Interrupt:19 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:308 errors:0 dropped:0 overruns:0 frame:0
          TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1594172 (1.5 MiB)  TX bytes:1594172 (1.5 MiB)
 
Old 05-21-2008, 01:14 PM   #20
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Let's try unloading and reloading the module.
Code:
# ifconfig eth0 down
# rmmod r8169
# modprobe r8169
# ifconfig eth0 up
Good luck. ;-)
 
Old 05-21-2008, 01:56 PM   #21
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
I guess you've hit something. All these commands seem to fail, as you can see. Or perhaps the third one did not fail, but it didn't give any output.

Code:
knoppix@Knoppix:~$ ifconfig eth0 down
SIOCSIFFLAGS: Permission denied

knoppix@Knoppix:~$ rmmod r8169
ERROR: Removing 'r8169': Operation not permitted

knoppix@Knoppix:~$ modprobe r8169

knoppix@Knoppix:~$ ifconfig eth0 up
SIOCSIFFLAGS: Permission denied
 
Old 05-21-2008, 03:03 PM   #22
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Try the commands from a root console or with sudo.
Good luck. ;-)
 
Old 05-21-2008, 03:29 PM   #23
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
I'm not sure what you mean by a root console. I cannot choose a username to login with. That's why I kind of assumed that the user account you get in Knoppix had root privileges.

I executed the commands with sudo, but this time they returned nothing at all. Is that normal? I think I may be misunderstanding the use of the sudo command. I just typed sudo in front of all the commands,

Code:
sudo ifconfig eth0 down
and such. I understand that you can also use sudo to login as another user, is that what I should have done? If so, I'm not sure as what user I should login or with what password.

If you hadn't gathered yet, it didn't work. Also, I checked the output of

Code:
ifconfig -a
after executing the first command. I'm not sure my thought is correct, but I would expect something to change in that output when you take down a network device. So, just in case it helps, I'll let you know that nothing had changed.
 
Old 05-21-2008, 04:33 PM   #24
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
If the command executed with no additional output that means it executed successfully. IIRC Knoppix has a root console tool available from the menu but, sudo should work as well.
Good luck. ;-)
 
Old 05-21-2008, 04:57 PM   #25
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
I executed the commands with sudo, but the network card configuration tool still fails when it tries to send a DHCP broadcast.
 
Old 05-21-2008, 05:20 PM   #26
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
From the Windows side do this. Go to Device manager and select the network adapter, right click on properties, then click on the advance tab > "enable lan on shutdown", also look at the power management tab, deselect "allow the computer to turn off this device to save power" option.
Good luck. ;-)
 
Old 05-21-2008, 05:42 PM   #27
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
You mean Wake-On-Lan After Shutdown, right? I had tried it before, but not with the additional steps. I enabled it (the Allow computer.. was already disabled), then I tried the configuration tool again, to no avail. I also ran those commands again, then the configuration tool again, but nothing.
 
Old 05-21-2008, 05:57 PM   #28
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Have you taken a look at the bios for wake on lan or power saving feature? Try a cold boot. Shutdown the machine completely, then boot to the knoppix disk. If that doesn't work, you may need a newer kernel version, i.e. a newer Knoppix or other live disk. Knoppix 5.1.1 is 17 months old now and I'm certain there are tons of new developments in that time span.
Good luck. ;-)
 
Old 05-23-2008, 03:41 PM   #29
NanakiXIII
LQ Newbie
 
Registered: May 2008
Posts: 27

Original Poster
Rep: Reputation: Disabled
Yes, wake on lan is enabled in the BIOS. The cold boot didn't have any effect.

I hadn't noticed that my version of Knoppix was old, I had only looked under the CD versions, while the new versions are only published on DVD. I downloaded the latest version, but it doesn't work. It might just be a bad burn, I'm not sure, but after it shows in verbose mode what it's starting up, just as it loads the graphical interface, the screen goes black and stays that way.

If you have any thoughts on it, I'll be happy to hear them, but to tell you the truth, this issue doesn't matter very much to me any more. I've finally managed to accomplish what I wanted to use Knoppix for in the first place, which is to resize a partition so that I could install a Linux distribution. All the problems that arose, such as the problem with my NIC and its drivers, are all nasty byproducts of my attempt at that.

I have now got it to work and I have installed Mandriva. I am having some problems with Mandriva (which I'm sure I'll start another thread about), but I am happy to conclude one thing, which is that my connection is fully functional (I am posting this from my new installation). It also hasn't caused any problems with my NIC in Windows yet.
 
Old 05-23-2008, 05:10 PM   #30
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
That's good to hear, glad you got it sorted. The GUI problem may need one of the "fb" cheat codes. You can view them before you boot by pressing F2 or F3, if you decide to look into it. In any event, glad things are working for you. See you in the forums.
Good luck. ;-)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 10 8/07 NOT booting to CDE when Network cable UNPLUGGED as400 Solaris / OpenSolaris 7 04-26-2008 08:39 AM
Windows box shows "Network cable unplugged" when hooked up to my Linux router drkstr Linux - Networking 5 10-03-2006 04:44 PM
FC4 not booting w/ message "ERROR opening /dev/console!!!!: 20" Dimension User Fedora 5 10-24-2005 05:03 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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