LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-13-2009, 02:09 PM   #1
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Rep: Reputation: 15
how do i set up an network connection?


Hello,

I'm a bit new to linux. I am trying to setup a network connection but I can not figure out how. I set up a wired connection that says it is connected be still cannot connect to the network any ideas?

Settings:

Was XP - Now Fedora 10
Ethernet Cable Connection to network

01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
 
Old 04-13-2009, 02:11 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
what is the output from
Code:
ifconfig
Code:
route -n
 
Old 04-13-2009, 02:32 PM   #3
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
Hi,

Would you please tell us When exactly had you downloaded this Fedora ? or When did you get it? because When I downloaded Fedora 10 there was NetworkManager bug and I had to fix it manually. If not then, could you please tell us some more.. e.g.

Do you have a static ip or dynamic?

Are you behind a proxy server or not?

post the output of

Code:
[root@Wazirkutz ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
mine looks like this.

Code:
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.10.255
HWADDR=00:1C:C0:80:DD:9E
IPADDR=192.168.10.76
NETMASK=255.255.255.0
NETWORK=192.168.10.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
[root@Wazirkutz ~]$
I hope you already know how to set firefox LAN setting from preferences. if behind a LAN server.

Cheers!!
 
Old 04-13-2009, 02:33 PM   #4
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
Ifconfig:


[genew@localhost ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:76:87:A6F
inet addr:10.42.44.1 Bcast:10.42.44.255 Mask:255.255.255.0
inet6 addr: fe80::216:76ff:fe87:a6df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3588 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:323445 (315.8 KiB) TX bytes:17301 (16.8 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:72 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7500 (7.3 KiB) TX bytes:7500 (7.3 KiB)

[genew@localhost ~]$


--------------------------------------------------------------
route -n:


Destination Gateway Genmask Flags Metric Ref Use Iface
10.42.44.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
 
Old 04-13-2009, 02:39 PM   #5
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
when i run "cat /etc/sysconfig/network-scripts/ifcfg-eth0" i get:

----------------------------------------------------------------

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=no
PEERDNS=yes
IPV6INIT=no
TYPE=Ethernet
DEVICE=eth0:1
BOOTPROTO=none
IPADDR=192.168.0.60
ONPARENT=no
NM_CONTROLLED=no
NETMASK=192.168.1.254
GATEWAY=192.168.1.254


--------------------------------------------------
when i try to view "/usr/share/doc/initscripts-*/sysconfig.txt" i get the message:

bash: /usr/share/doc/initscripts-8.86/sysconfig.txt: Permission denied
 
Old 04-13-2009, 02:41 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Do you use networkmanager?
are you connected to a router, modem?
 
Old 04-13-2009, 02:53 PM   #7
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
yes, I am using networkmanager

i am connected to a modem using an ethernet cable.
i have other computers connected as well but they are using Windows XP. those computers connect fine
 
Old 04-13-2009, 02:56 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
is it a modem or a router?
Are the other computers connected at the same time?
with the modem, do you need to provide a login and pass to connect?
 
Old 04-13-2009, 03:05 PM   #9
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
i think its a router.

there are about 10 other computers all connected and running at the same time
 
Old 04-13-2009, 03:10 PM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
does the router do DHCP ?
if yes, is networkmanager setup for DHCP?
seems to me the default gw is not set

Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.42.44.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
What is the IP from the router?
try

Code:
route add defaukt gw <ip from your router>

then
Code:
ping <ip from your router>
 
Old 04-13-2009, 03:19 PM   #11
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
when i type "Destination Gateway Genmask Flags Metric Ref Use Iface" i get the syntax:

bash: Destination: command not found

when i type "route add default gw <My Router IP>" i get the syntax:

SIOCADDRT: Operation not permitted


---------------------------------------------

should i be using a specific sign in other than the primary user?
 
Old 04-13-2009, 03:20 PM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you need to do this as root
just the

route add default gw <My Router IP>
 
Old 04-13-2009, 03:32 PM   #13
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
my boss created the root user and password and he is out of the office till next week. is there a way to see what the root username is? i already know the password
 
Old 04-13-2009, 03:34 PM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you can do
sudo route add default gw <My Router IP>
then the root password
 
Old 04-13-2009, 03:46 PM   #15
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
the computer tries to use the current username i'm signed in as,

if i type in the password that matches the username i get the message:

<username> is not in the sudoers file. This incident will be reported

----------------------------------------

if i type in the root password i get:

sorry, please try again
 
  


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
cannot set up network with suse vmware using bridged network config. lxvor SUSE / openSUSE 1 02-08-2009 03:50 PM
How to set up network permissions for user accounts. Restrict network access. r00tb33r Linux - Networking 7 02-04-2007 09:10 PM
Is this a secure way to set up a home network (with network storage) ? phildacey Linux - Security 2 08-24-2006 04:25 AM
How do I set up a network connection to OSX? CyberLord_7 Linux - Newbie 3 03-07-2006 03:29 PM
How do i install a network card/drivers or set up internet connection sharing? Daz155HGT Linux - Newbie 1 04-20-2004 05:22 PM

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

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