LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-06-2007, 01:25 AM   #1
alokagrawal
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Rep: Reputation: 15
connecting internet


I have just started using linux,i have window xp
and knoppix 5.0 on my system.I am a school boy so for connecting to internet i have to connrct to the school server but i am able to connect to school server through windows but not through linux(knoppix 5.0).
There is also one interesting case as i am boot linux(knoppix 5.0)through live cd i am able to connect to server and able to use internet.
please tell how i would connect to internet through knoppix hd installed.ip address is 192.168.255.173
Thank you for Replies
 
Old 03-06-2007, 03:14 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Have you checked your network config? Most likely, the gateway isn't properly configured or something like that.

Did you do anything to configure your network card while booting Knoppix from CD?
If you didn't, then my guess is that you need to setup DHCP client rather than using a fixed IP address.

Please post the output of "ifconfig" and the details of the network config (gateway IP, subnet mask, ...). These config details can be found when you run ifconfig after booting the Knoppix CD or by executing "ipconfig /all" after booting Windows.
 
Old 03-06-2007, 03:15 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
In:

/etc/network/interfaces

Make an entry like this:

# The primary network interface
allow-hotplug eth0
iface eth0 inet 192.168.255.173
 
Old 03-08-2007, 01:32 AM   #4
alokagrawal
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by alokagrawal
I have just started using linux,i have window xp
and knoppix 5.0 on my system.I am a school boy so for connecting to internet i have to connrct to the school server but i am able to connect to school server through windows but not through linux(knoppix 5.0).
There is also one interesting case as i am boot linux(knoppix 5.0)through live cd i am able to connect to server and able to use internet.
please tell how i would connect to internet through knoppix hd installed.ip address is 192.168.255.173
Thank you for Replies
Here is output of ipconfig/all & ifconfig
windows-xp:ipcofig/all
Windows IP Configuration

Host Name . . . . . . . . . . . . :alok-00mcupkfpb
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : ssgmce.ac.in
Description . . . . . . . . . . . : Intel(R)PRO/100 VE Network Connection
Physical Address. . . . . . . . . : 00-11-11-1C-0A-78
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.255.193
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 192.168.254.7
DHCP Server . . . . . . . . . . . : 192.168.254.1
DNS Servers . . . . . . . . . . . : 192.168.254.5
192.168.254.140
Lease Obtained. . . . . . . . . . : Thursday, March 08, 2007 11:19:21 AM

Lease Expires . . . . . . . . . . : Thursday, March 08, 2007 5:19:21 PM


ifconfig:

eth0 Link encap:Ethernet HWaddr 00:11:11:1C:0A:78
inet addr:192.168.255.167 Bcast:192.168.255.255 Mask:255.255.254.0
inet6 addr: fe80::211:11ff:fe1c:a78/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4311 errors:0 dropped:0 overruns:0 frame:0
TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:381535 (372.5 KiB) TX bytes:20512 (20.0 KiB)

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:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:900 (900.0 b) TX bytes:900 (900.0 b)


i have not done any network configuration when boot from knoppix live cd
Thankyou alok
 
Old 03-08-2007, 01:39 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
As I guessed, you'll need to use DHCP to obtain an IP address and other network settings.
This is done in the Windows configuration as well:
Quote:
Dhcp Enabled. . . . . . . . . . . : Yes
So boot your Knoppix (installed on hd), then select your network configuration from your panel (or run "system-config-network" tool from commandline). It'll show you your active network cards, edit eth0's settings and make sure that the option to use DHCP to automatically obtain an IP address is enabled.

Report back if you can't make this work.
 
Old 03-09-2007, 03:37 AM   #6
alokagrawal
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Original Poster
Rep: Reputation: 15
connectin to internet

Quote:
Originally Posted by timmeke
As I guessed, you'll need to use DHCP to obtain an IP address and other network settings.
This is done in the Windows configuration as well:


So boot your Knoppix (installed on hd), then select your network configuration from your panel (or run "system-config-network" tool from commandline). It'll show you your active network cards, edit eth0's settings and make sure that the option to use DHCP to automatically obtain an IP address is enabled.

Report back if you can't make this work.
thanks for reply, but none of your alternatives are working.
1) i am not able to find network configuration in my panel, because i just 2 to 3 times opened knoppix desktop.

2)when i type command "system-config-network " i got error "command not found". I also tried command "netconfig" & "service network restart" but again i got same error.
will you please tell me where i was wrong, As i am able to connect to internet through live cd of Knoppix;
Thanks again for reply
 
Old 03-09-2007, 04:22 AM   #7
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Like I told you, your system needs to be configured to use DHCP (client) to get an IP address from the network's DHCP server. This IP address can then be temporarily used by your system (ie until the leased IP expires or until you reboot your machine, at which time the DHCP client will ask for another IP).

system-config-network is in /usr/bin on my Fedora box. It can be called differently or reside in another directory in Knoppix.

In general, I just wanted you to use the graphical interface to your network card config, rather than editing the settings directly in /etc/ files or /proc files. In the panel, it should be under "System Settings" or "KNOPPIX menu -> Network/Internet -> Network card configuration" or something like that.
 
Old 03-11-2007, 06:42 PM   #8
latifovich
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
I have problems to conect to the internet, i have just instaled opensuse 10.2 and I skiped the internet connection part, and now I am not able to configure the conenection (or network card). I have Realtek PHY RTL8201CL LAN card and I am connected to the internet through sweech. What should I do to connect?

Last edited by latifovich; 03-11-2007 at 06:51 PM.
 
Old 03-12-2007, 02:41 AM   #9
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
@latifovich: you should start by reading the forum rules, which clearly say that you shouldn't "hijack" other people's posts. That said, I would recommend that you:
-insert the installation CDs and install the network stuff you skipped before;
-try to configure your network card via the tools that are installed;
-give us some details (IP addresses, subnet mask, the IP address of your switch, etc), so that we can help you set up your machine. But please post these details on a new thread (that you create), rather than this thread.
I suggest that you start this new thread on either the hardware forum or the newbie forum.
-You could also search these forums (or via Google) to see if anyone has overcome a similar situation like you.
 
  


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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Connecting to internet xakeriah Linux - Newbie 10 10-13-2006 12:26 AM
Connecting to Internet ady Linux - Networking 1 07-19-2004 02:53 AM
connecting to internet reznik Linux - Networking 2 07-19-2003 07:37 PM
Connecting to the Internet ToeShot Linux - General 2 12-13-2001 09:26 AM

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

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