LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-22-2005, 03:52 AM   #16
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69

what do u use to access internet eth1 or eth0???
 
Old 04-22-2005, 03:07 PM   #17
calathar
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Well, like I said, I'm assuming that eth0 is my wireless adapter which is not connected to anything, and eth1 is my wired adapter which is connected. I assume this because when I restart, eth1 has an ip address while eth0 does not.

So, I would think that I should be connecting through eth1, like I said earlier.
 
Old 04-22-2005, 07:53 PM   #18
Linuxmyatuk
LQ Newbie
 
Registered: Apr 2005
Location: Troy,NY
Posts: 6

Rep: Reputation: 0
Hello.. I am a Newbie but I am also getting the same error.
SIOCSIFADDR: Permission Denied
SIOCSIFFLAG: Permission Denied
Everyone has told me that I need the correct drivers for my nic card. I also have a laptop witha internal wireless connection plus a cat 5 connection. My suggest is to try to find the correct driver(s) for your card. Hope this helps. Not sure where you would be able to find them.. do a google.
 
Old 04-22-2005, 09:34 PM   #19
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by Linuxmyatuk
Hello.. I am a Newbie but I am also getting the same error.
SIOCSIFADDR: Permission Denied
SIOCSIFFLAG: Permission Denied
Everyone has told me that I need the correct drivers for my nic card. I also have a laptop witha internal wireless connection plus a cat 5 connection. My suggest is to try to find the correct driver(s) for your card. Hope this helps. Not sure where you would be able to find them.. do a google.
are u doin thi while u are "root"???

do run

su

before u do this

regards
 
Old 04-22-2005, 09:50 PM   #20
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by calathar
Well, like I said, I'm assuming that eth0 is my wireless adapter which is not connected to anything, and eth1 is my wired adapter which is connected. I assume this because when I restart, eth1 has an ip address while eth0 does not.

So, I would think that I should be connecting through eth1, like I said earlier.
so if u say that u are connected through eth1 so can u ping any machine on the network??

if u cannot ping ur gateway then u cannot access the internet

regards
 
Old 04-23-2005, 01:23 PM   #21
calathar
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I'm connected directly to the internet through that machine, so there aren't any other machines for me to ping. I can't ping my gateway, either. Any ideas?
 
Old 04-23-2005, 01:45 PM   #22
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
first of all u should be able to ping ur gateway then only w cna move ahead

do this

bring down eth0
ifconfig eth0 down

the assign ip adress to eth1 like

ifconfig eth1 <ipaddress/subnet mask>

and trying pinging ur gateway
if it does not work then
bring eth1 down
again repeat this for eth0 and see if u get some results
bring eth0 up by

ifconfig eth0 up

regards
 
Old 04-23-2005, 04:35 PM   #23
calathar
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Okay, I tried all of that, and nothing got any results. However, I did notice that when eth0 was down, an internet browser would instantly tell me that the host of a website was not recognized, instead of taking a minute or two to realize that it has no connection...does that help at all?
 
Old 04-23-2005, 10:14 PM   #24
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

looks like a ray of light!!

so do this

keeep eth0 down

and the configuration that wokred a little
there

try running

traceroute google.com

ping google.com

or nslookup on these

and

route -n

regards
 
Old 04-24-2005, 01:38 AM   #25
calathar
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
ping: unknown host google.com

on the nslookup:

;; connection timed out; no severs could be located

traceroute: unkown host google.com

And on the route -n I have the exact same table as above, except without the row with eth0 at the end.

Thanks for all the help so far. Hopefully we can get it working...
 
Old 04-24-2005, 01:58 AM   #26
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
we can go further only if u are able to ping ur gateway...
 
Old 04-24-2005, 12:29 PM   #27
calathar
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Okay. Thanks anyway.
 
Old 04-25-2005, 01:21 AM   #28
Bill Johns
Member
 
Registered: Mar 2005
Distribution: Zenwalk for now
Posts: 82

Rep: Reputation: 15
I read it as those 2 ether net cards are conflicting. Both use the
same interupt.
 
Old 04-25-2005, 02:02 AM   #29
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
but none of them works if we bring each of them down

regards
 
Old 04-25-2005, 11:42 PM   #30
calathar
LQ Newbie
 
Registered: Apr 2005
Posts: 17

Original Poster
Rep: Reputation: 0
So that doesn't help any? I only somewhat caught what he meant, but when we isolated one by bringing the other down we rule that out from being the problem?
 
  


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 connect to wireless internet using linux ipodlinux Linux - Wireless Networking 10 07-01-2006 01:35 PM
how to connect to Internet with Linux ? MaaSTaaR Linux - General 13 08-11-2005 01:16 PM
How does Linux connect to the internet? testforechozero Programming 2 08-17-2004 06:01 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
I can't connect to the Internet in Linux scracker Linux - Networking 5 09-20-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:31 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
Open Source Consulting | Domain Registration