LinuxQuestions.org
Help answer threads with 0 replies.
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 08-10-2005, 09:48 AM   #1
mahip83
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Internet not working


Hi i am new to Linux, recently i ve installed Red Hat Linux 9.0, somehow i managed to start my internet, but now after restarting the internet isnt working. plz if any 1 could help me. Thanks in advance.
 
Old 08-10-2005, 10:43 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Need more detail please. How are you connecting to the internet? What, if any, errors are recorded in your log files (/var/log/syslog)?
 
Old 08-10-2005, 10:43 AM   #3
EdR
LQ Newbie
 
Registered: Sep 2004
Distribution: RHEL AS3, AS4 / Vector
Posts: 22

Rep: Reputation: 15
You might want to check your network card settings to make sure it says that it is active and not disabled. There should be a check box to allow you to make the card active at boot time.
 
Old 08-10-2005, 01:53 PM   #4
mahip83
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Everything is installed properly, there are no errors at the startup and even in in syslog. I am using a DSL connection to connect to internet. All my network settings are perfect, its Active. I am even able to connect succesfully. I am able to ping my IP address also successfully. Sometimes i get error "The operation timed out ..." and sometimes "The connection was refused from <sitename>..."
Plz help me. thanks
 
Old 08-10-2005, 05:10 PM   #5
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
Check the nameserver entry in

/etc/resolv.conf
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx


#where xxx.xxx.xxx.xxx is the ip address of your nameserver
 
Old 08-11-2005, 04:00 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I tend to agree that it may relate to the DNS setup in /etc/resolv.conf. It does appear to be a name resolution problem.
 
Old 08-12-2005, 12:22 AM   #7
mahip83
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry to ask but when i tried to /etc/resolv.conf in terminal it says permisssion denied. plz can u help me how to go about. Thanks.
 
Old 08-12-2005, 01:07 AM   #8
eagleswings
LQ Newbie
 
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Fedora Core 4, SuSE 9.2
Posts: 19

Rep: Reputation: 0
You need to be in root user mode. Issus a 'su' on the terminal then it will ask you to keyin the root password then do the /etc/resolv.conf again.
 
Old 08-12-2005, 01:57 AM   #9
mahip83
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Hey guys my internet started working but i wanna ask all of u tht is there any internet speed difference between windows and linux coz the downloading speed wht i m getting in windows is almost same as linux so i wanna know that is there any difference of web speed between windows and linux. Plz reply to it. Thanks.

"su" isnt working in my PC it still says Permission denied although i m logging i am as root or other user

I heard Linux web speed is three times than the windows web speed, is it true. Plz Reply. Thanks

Last edited by mahip83; 08-12-2005 at 02:10 AM.
 
Old 08-12-2005, 02:42 AM   #10
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by mahip83
"su" isnt working in my PC it still says Permission denied although i m logging i am as root or other user

I heard Linux web speed is three times than the windows web speed, is it true. Plz Reply. Thanks
When you say su isn't working, do you mean that it says no such command or it's not accepting the password (permission denied)? If its the latter then you are using the wrong password.
As regards speed - the transmission of packets to and from the net should be identical on the same hardware. The difference usually lies in the fact that the browser rendering is faster under Linux because Linux browsers are generally lighter than IE.
 
Old 08-12-2005, 02:57 AM   #11
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
Smile

Give a bit more information about your internet connection.
What I tried on my system is to I opend my modem configuration file in /etc/xxx/xyzmodem.conf and located the MTU which was 264 and I changed it to 1500 and it makes difference.
abt su
$]su -
password:

or add a new user and check the same thing (su)
#]useradd foo

For this users password

#] passwd foo
Changing password for user foo.
New UNIX password:

Retype new UNIX password:

and then see if it is letting you do su -

This thing is to just check if it is really not working from other users too!
 
Old 08-12-2005, 07:44 AM   #12
mahip83
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
When i login as root and give "su" it says : "-bash /etc/resolv.conf : Permission denied" this is the error. I get the same error msg when i login as other user. Nothing as such that wrong password or so. I am using a protocol that is cablenet (adsl setup) so once u can do changes in ur modem settings then u can do the same in cable connection. Plz help me. Thanks.

I tried with new user also it gives the same error.
 
Old 08-12-2005, 03:18 PM   #13
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If you are root then you don't need to "su". You use the command su when you want to become root while logged in as a user.
Sounds like you are using /etc/resolv.conf as a command. Its a file not an executable and you want to edit it not execute it. If you are using a gui then you can read or edit the file via the root file manager (kdesu for kde) and then use one of the editors. if you use a console then you need to know how to use vi or vim or one of the console editors.
 
Old 08-13-2005, 04:36 AM   #14
mahip83
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
so now i can access /etc/resolv.conf
there i m getting this
nameserver 202.63.173.30
nameserver 202.63.164.17

so this is what is written in resolv.conf

now plz any1 can tell me what should i do now.

I want to increase the speed of internet can any1 help me.

plz reply. bye thanks
 
Old 08-13-2005, 04:50 AM   #15
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The nameserver lines are the DNS addresses supplied by your isp. You would have entered these during setup of the system. Check that these are correct. They are normally supplied by the isp when your register.
You posts are very vague and therefore it makes it very difficult to help you. You initially stated that your internet connection failed after reboot and now you are wanting to increase the speed of connection. This does not make sense.
 
  


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
Internet not working suckerr70 Linux - Networking 3 04-18-2005 09:34 PM
Internet not working! WWMPCDD Linux - Wireless Networking 2 10-27-2004 02:43 PM
Internet Not Working! rubbercash Linux - Networking 4 07-20-2004 01:27 PM
Internet working, network not working... phoenix07 Fedora 1 04-11-2004 03:30 AM
I did have the internet working xylum Linux - Networking 2 08-15-2002 11:32 AM

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

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