LinuxQuestions.org
Register a domain and help support LQ
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 05-27-2003, 07:43 PM   #1
Zen Arcade
LQ Newbie
 
Registered: May 2003
Location: Maine, U.S.A.
Distribution: Knoppix/Windows XP
Posts: 7

Rep: Reputation: 0
Question Knoppix: internet problems, apt-get


Hi everyone,

I recently managed to install Knoppix and it auto-detected everything fine (except my printer, but I'll save that for a different post...). I was able to access the internet with Mozilla and Konquerer without trouble.

I recently utilized the "apt-get update" command, which also seemed to go fine. However, the next time I rebooted (and everytime since) the reboot process took much longer on the "Configuring network interfaces..." portion and I haven't been able to get on the internet anymore. I can only assume that the "apt-get" and the internet problem are related.

I don't know anything about command lines (which probably means I shouldn't mess around with things like "apt-get" at this point). I've been searching through the KDE Help files trying to find a "graphical" way of troubleshooting this but I haven't found anything yet.

Any assistance is appreciated. Pointers on where to find an online solution are fine, they would just have to be comprehensible to a beginner (i.e. - command line/file modification instructions would have spell-out everything).

If it's at all useful, here are some system specs:

Dual Boot with Windows XP
Pentium 4
CPU 180 Ghz
256 MB RAM
Intel Pro/100+ Network Adapter

Thanks in advance.
 
Old 05-28-2003, 07:34 AM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
I am not familiar with Knoppix (heard of but never used). Having said that:
If knoppix loads linux as per other distros during boot when it gets to bringing up your eth0 does it say [failed] or [ok]? And if failed does it show an error message??
 
Old 05-28-2003, 09:13 AM   #3
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
knoppix when installed on the hdd is basically debian testing/unstable.
So apt-get also refers to the packages in these lists (see /etc/apt/sources.list for the locations where apt gets the packages from)

If you only put apt-get update all it really did was to update the information on the packages avialable online in the cache. so I really doubt your internet problem has anything to do with that.

If you did install anything apt-get should have asked you to proceed with downloading, installing of blablabla, did it do that?

Also check the installation of the network card, did knoppix configure the right network card options? You might want to try remove the card and install/configure it again.
You can also check dmesg right after booting to see wether can
can find any usefull info there on what might be wrong.
 
Old 05-28-2003, 01:51 PM   #4
Zen Arcade
LQ Newbie
 
Registered: May 2003
Location: Maine, U.S.A.
Distribution: Knoppix/Windows XP
Posts: 7

Original Poster
Rep: Reputation: 0
Question Internet Access Returns (Causes Unknown)

Hi Folks,

For whatever reason, this time I rebooted the boot process didn't stall on "Configuring network interfaces..." and I was able to access the internet no problem. I did dmesg and (not surprisingly) the eth0 test said "passed".

I did a search for /etc/apt/sources.list in file:/etc with Kfind and found nothing. Am I looking in the wrong place?

Since I have your attention here & I'm so used to Windows functions: how does one scroll up in the Xconsole window (tried arrow keys, mouse: didn't work)? How would I copy info from the dmesg in Xconsole and paste it into a forum post message (ctrl + c doesn't work)?

Thank you for the help.

 
Old 05-28-2003, 07:46 PM   #5
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
Re: Internet Access Returns (Causes Unknown)

Quote:
Originally posted by Zen Arcade
how does one scroll up in the Xconsole window (tried arrow keys, mouse: didn't work)? How would I copy info from the dmesg in Xconsole and paste it into a forum post message (ctrl + c doesn't work)?
Hi Zen -

for scrolling, have you tried shift+pgup (or shift+pgdn)?

also, some consoles allow you to start them with a scrollbar on the side. check the man pages for options (in a console type 'man <command>' where <command> is the command used to start the program, generally. this works for almost all commands)

to copy, just highlight the text you want, then in the post window hit the middle mouse button.

iirc, sources.list is in /etc/apt/ - so just type 'more /etc/apt/sources.list' to read it. there's a nice apt-get howto HERE that describes apt-get and all the config options.

no clue as to the eth0 problem...

hope that helps

Last edited by Genesee; 05-28-2003 at 07:53 PM.
 
Old 05-31-2003, 08:15 PM   #6
Zen Arcade
LQ Newbie
 
Registered: May 2003
Location: Maine, U.S.A.
Distribution: Knoppix/Windows XP
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the help guys.
 
Old 06-02-2003, 12:16 AM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 69
Re: Internet Access Returns (Causes Unknown)

Quote:
Originally posted by Zen Arcade
Hi Folks,

For whatever reason, this time I rebooted the boot process didn't stall on "Configuring network interfaces..." and I was able to access the internet no problem. I did dmesg and (not surprisingly) the eth0 test said "passed".

I did a search for /etc/apt/sources.list in file:/etc with Kfind and found nothing. Am I looking in the wrong place?

Since I have your attention here & I'm so used to Windows functions: how does one scroll up in the Xconsole window (tried arrow keys, mouse: didn't work)? How would I copy info from the dmesg in Xconsole and paste it into a forum post message (ctrl + c doesn't work)?

Thank you for the help.

Your settings for the eth0 card are in /etc/network/interfaces the apt-get update had nothing to do with the network problems and if by running the command you think you have updated the system you have not you would have to run apt-get upgrade to update the system it is always usefull to add the -s option (eg. apt-get -s upgrade ) to simulate the actions of apt then if everything is to your satisfaction the remove the -s and proceed.

Usefull commands:
ifconfig eth0 - Tells you the configuration of eth0
lsmod - Lists the modules loaded usefull to check if your net card module is loaded
/etc/init.d/networking restart - Restart network after making changes to config.

If your interested in a forum for issues related to knoppix try knoppix.net.

How do you connect to the internet DHCP or static settings?

Examples of what you should see in your /etc/network/interfaces:

For DHCP
Code:
# The loopback interface
# automatically added when upgrading
auto lo eth0 
iface lo inet loopback


iface eth0 inet dhcp
For static numbers changed to protect the innocent
Code:
# The loopback interface
# automatically added when upgrading
auto lo eth0 
iface lo inet loopback


iface eth0 inet static
        address 123.456.789.012
        netmask 255.255.255.0
        network 123.456.789.0
        broadcast 123.456.789.255
        gateway 123.456.789.254
 
  


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
KNOPPIX internet problems.... iatemyfingers Linux - Newbie 3 01-13-2005 12:12 AM
KNOPPIX apt-get Mingthefirst Debian 8 10-17-2004 05:49 AM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 07:36 PM
knoppix 3.4 apt-setup on hdinstall / apt-get on live-cd non3 Linux - Distributions 0 05-25-2004 11:14 AM
APT-GET in knoppix doesn't connect Grafbak Linux - Newbie 4 01-21-2004 04:55 PM


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