LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   mandrake internet connection problem (https://www.linuxquestions.org/questions/linux-wireless-networking-41/mandrake-internet-connection-problem-275245/)

emolamol 01-08-2005 12:44 AM

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?

masand 01-08-2005 05:35 AM

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

emolamol 01-08-2005 08:05 AM

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
-------------------------------------------------------

masand 01-08-2005 08:33 AM

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

emolamol 01-08-2005 08:56 AM

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

masand 01-08-2005 10:10 AM

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

emolamol 01-08-2005 10:31 AM

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.

masand 01-08-2005 10:41 AM

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

emolamol 01-08-2005 11:56 AM

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)

masand 01-08-2005 12:19 PM

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


emolamol 01-08-2005 01:02 PM

hi,

'Network Hotplugging' option was already selected.

then i tried to change

MII_NOT_SUPPORTED=yes


for no use.

:scratch:

god!its really frustrating now......dont understand what made it run uns and not later on.:(

masand 01-08-2005 01:35 PM

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

emolamol 01-08-2005 10:18 PM

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.

masand 01-09-2005 02:47 AM

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

emolamol 01-09-2005 03:59 AM

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


All times are GMT -5. The time now is 03:13 AM.