LinuxQuestions.org
Visit Jeremy's Blog.
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 04-02-2010, 09:01 AM   #1
tamer7915
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
help about my network settings


i'm in alocal area network, the server is windows server with isa server and soft perfect program to identify the speeds.
the proplem is:
i can't log on internet with any browser in linux os like fedora, ubuntu, gentoo or any other



pleas i need help with that
 
Old 04-02-2010, 09:20 AM   #2
never say never
Member
 
Registered: Sep 2009
Location: Indiana, USA
Distribution: SLES, SLED, OpenSuse, CentOS, ubuntu 10.10, OpenBSD, FreeBSD
Posts: 195

Rep: Reputation: 37
Gonna need more information.

Is there DHCP on the network?

Is the linux nic setup for DHCP?

What are the results of ifconfig?
Is the Gateway correct?

Can you ping the gateway?

Can you ping google.com?

Can you ping 64.233.169.106? (a google server)

Answering these questions will help to isolate the problem.

Thanks
 
1 members found this post helpful.
Old 04-02-2010, 09:22 AM   #3
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Blog Entries: 7

Rep: Reputation: 18
hi,

First,what is your network set up whether you want your linux pcs to connect to internet through windows server, if that is the case then, have you added your name server's address in linux pc's resolv.conf file. can you able to ping to widows server pc.
 
1 members found this post helpful.
Old 04-02-2010, 11:30 AM   #4
tamer7915
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
MANY THANKS to your interest "NEVER SAY NEVER , DINAKUMAR"

DHCP- i think it is existing that i have another pc with windows 7 and the net is good
how is linux to be nic setup for DHCP
gateway is correct
i can't ping gateway or any other

NB: the sign of network on my disktop says i'm already connected
 
Old 04-03-2010, 12:31 AM   #5
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Blog Entries: 7

Rep: Reputation: 18
hi,

ok for making your linux pc to get ip adress through DHCP. you need to edit the network configuration file.

In ubuntu linux you have to edit network configuration file by

"sudo gedit /etc/network/interfaces" then you have to edit

auto eth0
iface eth0 inet dhcp

then save the file.

And restart you network service by

sudo /etc/init.d/networking restart.

Last edited by dinakumar12; 04-03-2010 at 12:43 AM.
 
Old 04-03-2010, 05:22 AM   #6
tamer7915
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
[t@t ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4D:C6:7A:33
inet addr:192.168.0.1 Bcast:192.168.0.1 Mask:255.255.255.255
inet6 addr: fe80::2e0:4dff:fec6:7a33/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3907 (3.8 KiB)
Interrupt:27 Base address:0xe000

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:384 errors:0 dropped:0 overruns:0 frame:0
TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28588 (27.9 KiB) TX bytes:28588 (27.9 KiB)
 
Old 04-03-2010, 08:19 PM   #7
tamer7915
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
there is no DHCP
 
Old 04-04-2010, 03:16 PM   #8
never say never
Member
 
Registered: Sep 2009
Location: Indiana, USA
Distribution: SLES, SLED, OpenSuse, CentOS, ubuntu 10.10, OpenBSD, FreeBSD
Posts: 195

Rep: Reputation: 37
If there is no DHCP you are going to need the following information to set up your connection.

1. IP Adress (xxx.xxx.xxx.xxx)
This IP Address must be in the same subnet as your gateway and must not conflict with any other computer on the network.

2. Subnet Mask (255.xxx.xxx.xxx)
This must match the subnet mask for the rest of the network. It is likely 255.255.255.0, but could be something else.

3. Gateway address (xxx.xxx.xxx.xxx)
You will need the gateway address, this tells the computer if you can't find it look here.

4. DNS Server Addresses (You will need at least 1)
These allow you to type in google.com and it looks up the IP address (Think of it as the internets phone book.

If there is a Windows machine on the network you can open a commnd prompt on the windows machine and enter the command "ipconfig /all" (without the quotes) This will yield results similar to thi

Code:
Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : msth.com
   Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controlle
r
   Physical Address. . . . . . . . . : 00-1D-09-04-D8-3A
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : No
   IPv4 Address. . . . . . . . . . . : 192.168.0.199(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Wednesday, March 31, 2010 1:11:18 PM
   Lease Expires . . . . . . . . . . : Tuesday, April 06, 2010 1:13:19 PM
   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 
   DNS Servers . . . . . . . . . . . : 192.168.0.2
   NetBIOS over Tcpip. . . . . . . . : Enabled
If it shows DHCP Enabled Yes then you should be using DHCP otherwise, you will have to use an address that is NOT used on your network.

From the above example you would need to set up you linux box using an IP not on the network and copying, subnetmask, gateway, DNS address from the results you get on the windows box.

Good Luck.
 
1 members found this post helpful.
  


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
Network settings morfeus80 Linux - Newbie 5 01-24-2008 07:02 AM
Network settings / DNS Server settings uid0sd Linux - Newbie 3 02-22-2007 04:39 PM
network settings... piyushiitk Linux - Newbie 16 11-06-2005 08:10 PM
Network Settings kunkumd Linux - Software 1 05-06-2005 01:53 PM
Network settings jklaroe Slackware 5 06-19-2004 06:17 PM

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

All times are GMT -5. The time now is 11:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration