LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-08-2005, 12:44 AM   #1
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Rep: Reputation: 0
Unhappy mandrake internet connection problem


hi,

yesterday i installed mandrake 10. i am using cable internet here in india. my software is cyberoam.

i configured my network settings and i m getting ping frm the gateway.

then i installed my login client(cyberoam).

my internet started running. but from next time i m not able to open any webpage. i recheked my network setting and it looks fine.


and now whenever i try to loging through my client using the command....
#./crclient -u aksharma(username)

it says u hav already logged in using the process id 2093.

can anybody help solve this problem?

Last edited by emolamol; 01-08-2005 at 12:48 AM.
 
Old 01-08-2005, 05:35 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

this looks like a general problem to me

post the O/P of

route -n

and the contents fo ur /etc/resolv.conf

regards
 
Old 01-08-2005, 08:05 AM   #3
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
result of route -n

thanx masand for your response.

one thing i forgot to mention in my last post was--

during booting it says....

Bring up interface eth0 [FAILED]

----------------------------------------------------------------
here is the content of #route -n


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.8.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.16.10.1 0.0.0.0 UG 0 0 0 eth0


--------------------------------------------------------------------
here is the content of #ifconfig


eth0 Link encap:Ethernet HWaddr 00:00:E8:EF:8C:8D
inet addr:172.16.10.222 Bcast:172.16.15.255 Mask:255.255.248.0
inet6 addr: fe80::200:e8ff:feef:8c8d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:947 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:78362 (76.5 Kb) TX bytes:3166 (3.0 Kb)
Interrupt:11 Base address:0x1400

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:132 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8626 (8.4 Kb) TX bytes:8626 (8.4 Kb)

------------------------------------------------------------------
here is the content of #/etc/resolv.conf

bash: /etc/resolv.conf: Permission denied
-------------------------------------------------------
 
Old 01-08-2005, 08:33 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

post the contents of file
/etc/sysconfig/network-scripts/ifcfg-eth0

and of /etc/resolv.conf
these are not commands but files u need to open them and post their contents

regards
 
Old 01-08-2005, 08:56 AM   #5
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
oh ok.....

content of /etc/resolv.conf


# search 16.10.1 16.10.1 16.10.1 16.10.1 16.10.1 16.10.1 16.10.1
nameserver 127.0.0.1
nameserver 203.88.128.7
nameserver 203.88.158.230
# nameserver 203.88.123.7
# nameserver 203.88.138.230

# ppp temp entry

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

content of
/etc/sysconfig/network-scripts/ifcfg-eth0



DEVICE=eth0
BOOTPROTO=static
IPADDR=172.16.10.222
NETMASK=255.255.248.0
NETWORK=172.16.8.0
BROADCAST=172.16.15.255
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""

---------------------------------------------------------
just to help you...following are my network settings(should be)

ip-172.16.10.222
subnet-255.255.255.248.0
gateway-172.16.10.1

DNS-203.88.128.7
203.88.158.230
 
Old 01-08-2005, 10:10 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

make the entry of /etc/sysconfig/network-scripts/ifcfg-eth0 as
--------------
DEVICE=eth0
BOOTPROTO=static
IPADDR=172.16.10.222
NETMASK=255.255.248.0
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY="
-----------
and then

service network restart

if u again get then error then quickly go for

tail /var/log/messages


will give u the the last log and paste that too

regards
 
Old 01-08-2005, 10:31 AM   #7
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
hi

i m not able to change the content of this file...

/etc/sysconfig/network-scripts/ifcfg-eth0

it says i dont have permission to change the content of the file or i dont have enought space.

about space.....i have 1.5 GB space left in that drive

i tried ....

chmod -w ifcfg-eth0

but it was of no use...again the permission problem.

how can i change its content?

one interesting thing i find is that.....i m getting ping form 172.16.10.1(gateway) and i m able to open the ISP page when i type 172.16.10.1 in my address bar. but i not able to open any website.

Last edited by emolamol; 01-08-2005 at 10:36 AM.
 
Old 01-08-2005, 10:41 AM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

did u run

su

before trying to edit that file???

if u r still unable to edit that file
then run

service network restart

and post what u get immediately after that at

tail /var/log/messages

regards
 
Old 01-08-2005, 11:56 AM   #9
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
hi,
well it didnt work

following is the last contents of /var/log/messages

Jan 8 23:03:08 aksharma logdrake[2670]: ### Program is starting ###
Jan 8 23:03:16 aksharma drakxservices[2674]: ### Program is starting ###
Jan 8 23:03:21 aksharma drakxservices[2674]: running: /sbin/chkconfig --list
Jan 8 23:03:22 aksharma drakxservices[2674]: running: /sbin/chkconfig --list
Jan 8 23:03:47 aksharma ifdown: RTNETLINK answers: No such device or address
Jan 8 23:03:47 aksharma ifdown: RTNETLINK answers: No such device or address
Jan 8 23:03:47 aksharma network: Shutting down interface eth0: succeeded
Jan 8 23:03:48 aksharma ifdown: RTNETLINK answers: No such device or address
Jan 8 23:03:48 aksharma network: Shutting down loopback interface: succeeded
Jan 8 23:03:57 aksharma network: Shutting down loopback interface: succeeded
Jan 8 23:03:57 aksharma network: Setting network parameters: succeeded
Jan 8 23:03:57 aksharma kernel: Disabled Privacy Extensions on device c035fe60(lo)
Jan 8 23:03:58 aksharma network: Bringing up loopback interface: succeeded
Jan 8 23:03:58 aksharma ifplugd(eth0)[3000]: ifplugd 0.21b initializing.
Jan 8 23:03:58 aksharma ifplugd(eth0)[3000]: Using interface eth0/00:00:E8:EF:8
C:8D with driver <ne2k-pci> (version: 1.03)
Jan 8 23:03:58 aksharma ifplugd(eth0)[3000]: Failed to detect plug status of eth0
Jan 8 23:03:58 aksharma ifplugd(eth0)[3000]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Jan 8 23:04:00 aksharma ifplugd(eth0)[3000]: Program executed successfully.
Jan 8 23:04:00 aksharma ifplugd(eth0)[3000]: Exiting.
Jan 8 23:04:00 aksharma network: Bringing up interface eth0: failed
Jan 8 23:04:47 aksharma su(pam_unix)[3065]: session opened for user root by (uid=501)
Jan 8 23:05:20 aksharma su(pam_unix)[2132]: session closed for user root
Jan 8 23:05:25 aksharma su(pam_unix)[3065]: session closed for user root
Jan 8 23:05:33 aksharma su(pam_unix)[3136]: session opened for user root by (uid=501)
Jan 8 23:11:07 aksharma su(pam_unix)[3136]: session closed for user root
Jan 8 23:12:27 aksharma su(pam_unix)[3207]: session opened for user root by (uid=501)
Jan 8 23:14:16 aksharma ifdown: RTNETLINK answers: No such device or address
Jan 8 23:14:16 aksharma ifdown: RTNETLINK answers: No such device or address
Jan 8 23:14:16 aksharma network: Shutting down interface eth0: succeeded
Jan 8 23:14:16 aksharma ifdown: RTNETLINK answers: No such device or address
Jan 8 23:14:17 aksharma network: Shutting down loopback interface: succeeded
Jan 8 23:14:21 aksharma network: Shutting down loopback interface: succeeded
Jan 8 23:14:21 aksharma network: Setting network parameters: succeeded
Jan 8 23:14:21 aksharma kernel: Disabled Privacy Extensions on device c035fe60(lo)
Jan 8 23:14:24 aksharma network: Bringing up loopback interface: succeeded
Jan 8 23:14:24 aksharma ifplugd(eth0)[3564]: ifplugd 0.21b initializing.
Jan 8 23:14:24 aksharma ifplugd(eth0)[3564]: Using interface eth0/00:00:E8:EF:8C:8D with driver <ne2k-pci> (version: 1.03)
Jan 8 23:14:24 aksharma ifplugd(eth0)[3564]: Failed to detect plug status of eth0
Jan 8 23:14:24 aksharma ifplugd(eth0)[3564]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Jan 8 23:14:26 aksharma ifplugd(eth0)[3564]: Program executed successfully.
Jan 8 23:14:26 aksharma ifplugd(eth0)[3564]: Exiting.
Jan 8 23:14:26 aksharma network: Bringing up interface eth0: failed
Jan 8 23:14:44 aksharma su(pam_unix)[3663]: session opened for user root by (uid=501)
Jan 8 23:16:09 aksharma su(pam_unix)[3663]: session closed for user root
Jan 8 23:16:14 aksharma su(pam_unix)[3734]: session opened for user root by (uid=501)
 
Old 01-08-2005, 12:19 PM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there


try this
---------
In Mandrake Control Center -> Network & Internet -> Manage Connections check under the Options tab that the 'Network Hotplugging' option is NOT selected.
--------------

if that fails

set this
MII_NOT_SUPPORTED=no

to

MII_NOT_SUPPORTED=yes

and give it a try

regards


Last edited by masand; 01-08-2005 at 12:21 PM.
 
Old 01-08-2005, 01:02 PM   #11
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
hi,

'Network Hotplugging' option was already selected.

then i tried to change

MII_NOT_SUPPORTED=yes


for no use.



god!its really frustrating now......dont understand what made it run uns and not later on.
 
Old 01-08-2005, 01:35 PM   #12
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i think u need to give a try by unchecking that network hotplugging option

yes it is really frustating with these problems

but i have learned a lot after being patient with LINUX

regards
 
Old 01-08-2005, 10:18 PM   #13
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
hi,

this morning i tried unchecking the hotplugging option....it didnt work. but now during booting it says.....


Bringing up interface [OK]

one more thing i notice everytime is that....

whenever i change my DNS servers as following in "internet access"

DNS1-203.88.128.7
DNS2-203.88.158.230

but when i click OK button n check again.....then i shows


DNS1-127.0.0.1
DNS2-203.88.128.7
DNS3-203.88.158.230

i dont understand y mandrake changes my DNS server options.(adds 127.0.0.1)

my feeling is that ......problem is here.coz i am not able to open any website....DNS error.
 
Old 01-09-2005, 02:47 AM   #14
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
ok. so one problem is now solved!
for the other
edit ur /etc/resolv.conf

put the entries there as

nameserver 203.88.128.7
nameserver 203.88.158.230

and then too if u do not get ur internet working then post again the O/P of

route -n

regards
 
Old 01-09-2005, 03:59 AM   #15
emolamol
LQ Newbie
 
Registered: Jan 2005
Location: india>gujarat>vadodara
Posts: 13

Original Poster
Rep: Reputation: 0
i changed content of the file /etc/resolv.conf....it didnt work

when i restart my comp.....then content of the file etc/resolv.conf is automatically changed to original.



# search 16.10.1 16.10.1 16.10.1 16.10.1 16.10.1 16.10.1 16.10.1
nameserver 127.0.0.1
nameserver 203.88.128.7
nameserver 203.88.158.230
# nameserver 203.88.123.7
# nameserver 203.88.138.230

# ppp temp entry

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

result of route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.8.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.16.10.1 0.0.0.0 UG 0 0 0 eth0
 
  


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 connection problem with Mandrake Pradeep Kashyap Linux - Networking 25 09-20-2005 11:12 PM
Mandrake 10.1 internet connection sharing with windows XP problem dbancajas Linux - Networking 1 07-02-2005 02:51 AM
Mandrake 10.0 internet connection problem mclalan Linux - Networking 1 06-28-2004 06:14 AM
XP/Mandrake 9.2 Internet Connection Sharing problem DoddyUK Linux - Networking 8 05-10-2004 08:35 PM
internet connection problem in mandrake 9.2 djkaat Linux - Networking 1 03-21-2004 05:47 PM

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

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