arctic Posted August 11, 2005 Report Share Posted August 11, 2005 this pm just reached my inbox, but i think it is better to post it in this forum, so everyone can help. i am busy with setting up my new computers atm, so will have to take a closer look later, when i have some time. :unsure: actually i've just sifted to mandrake linux 10.1,earlier using windows xp.i've problem in connecting to the net. although i'm able to ping my default gateway and ip address and an interconnection appelat showing ethernet has connection but couldn't able to connect my ip.network monitor also shows that ethernet device not connected and when i click the connect button the network monitor window hangs. i'm giving u details abt network and hardware network card Dlink DFE538 tx 10/100 mbps fast ethernet PII 333 mhz with 128 mb sdram IP address 10.250.222.123 Netmask 250.250.250.0 default gateway 10.250.222.1 Preferred DNS 202.114.50.4 Alternate DNS 202.144.115.4 i'm connecting to internet through lan.my service provider is SIFY in India.its a broadband service. now whenever i tried to connect to internet through software provided by my isp, after providing username and password console gives the output Login failed:Invalid session pleae relaunch your dialer. but in winxp i'm able to connect by providing this username & password. please help me as i really got frustrated....i'm trying to fix it from last three days by searching net.but couldn't able to solve it. i hope for a quick response which will help in resolving my problem thanks in advance alokcool Quote Link to comment Share on other sites More sharing options...
arctic Posted August 11, 2005 Author Report Share Posted August 11, 2005 when your system is up and running, open a terminal and log in as root (type "su", followed by password). now type "ifup eth0" and after that "ifconfig eth0" and post the output, so we can see if the connection is really there or if there are problems related to the dlink card. check if you have a firewall running. if yes, disable it for now. you might also want to take a look at this howto http://www.iwpcs.co.uk/simple_net_setup.html also: it would be helpful if you can describe what you did until now exactly (have you used the wizards? if yes, which options did you choose, etc.) good luck. Quote Link to comment Share on other sites More sharing options...
arctic Posted August 12, 2005 Author Report Share Posted August 12, 2005 he pm'ed me again.. i guess i need to explain to him how forums work. :lol: thanks for ur prompt reply. as asked by you i'm posting some of the commandsoutput as told by u. ifconfig eth0 output ------- eth0 Link encap: Ethernet Hwaddr 00:11:95:5F:15:B1 inet addr: 10.250.222.123 Bcast: 10.250.222.255 Mask: 255.255.255.0 inet 6 addr:fe80::211:95FF:fedf:15b1/64 Scope: Link UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1 Rx packets:299 errors:0 dropped:0 overrun:0 frame:0 Tx packets:353 errors:0 dropped:0 overrun:0 carrier:0 Collisions:0 txqueuelen: 1000 Rx bytes:22249(21.7kb) Tx bytes:35133(34.3kb) Interrupt:5 Base address:0x3000 route -n output-------- Kernel IP routing table Destination Gateway Genmask Flags Metric Ref use Iface 10.250.222.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.250.222.1 0.0.0.0 UG 0 0 0 eth0 iptables -nvL output-------- Chain INPUT (Policy ACCEPT 0 packets. 0 bytes) pkts bytes target prot opt in out source Destination Chain FORWARD (Policy ACCEPT 0 packets. 0 bytes) pkts bytes target prot opt in out source Destination Chain OUTPUT (Policy ACCEPT 0 packets. 0 bytes) pkts bytes target prot opt in out source Destination iptables -nvL -t nat output---------- Chain PREROUTING (Policy ACCEPT 66 packets. 7327 bytes) pkts bytes target prot opt in out source Destination Chain POSTROUTING (Policy ACCEPT 144 packets. 12485 bytes) pkts bytes target prot opt in out source Destination Chain OUTPUT (Policy ACCEPT 144 packets. 12485 bytes) pkts bytes target prot opt in out source Destination #ping 10.250.222.123 output--------- afters pinging ctrl+c output 10.250.222.123 ping statistics 5 packets transmitted. 5 recieved. 0% packet loss time 4000ms rtt min/avg/max/mdev=0.210/0.307/0.629/0.151 ms #ping 10.250.222.1 output----------------- 10.250.222.1 ping statistics 2 packets transmitted. 2 recieved. 0% packet loss. time 1000ms rtt min/avg/max/mdev=1.428/2.301/3.175/0.874ms ----------------------------------------------------------------------- I also checked firewall setting where everything was allowed. i also went to ur suggested page and changes some fields according to that. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 - This is the main config file for the interface. It should read : DEVICE=eth0 BOOTPROTO=static IPADDR=10.250.222.123 NETMASK=255.255.255.0 NETWORK=10.250.222.0 BROADCAST=10.250.222.255 ONBOOT=yes MII_NOT_SUPPORTED=NO ###this is my above files content#### /etc/resolv.conf should contain the nameserver address(es) - put the address of your ISPs nameserver right at the top. eg: nameserver 195.20.224.165 HOSTNAME=10.250.222.123.sify.net NETWORKING=yes GATEWAY=10.250.222.1 GATEWAYDEV=eth0 ####this line was not present in above file### but after changing also problem remains same as my login to my internet service provider fails.but yes by ifup etho and ifdown etho i can swith off and on my ethernet i think this may help u to reach a conclusion where my problem is. alokcool Quote Link to comment Share on other sites More sharing options...
Guest alokcool Posted August 12, 2005 Report Share Posted August 12, 2005 yeah i couldn't able to find how to post message here but now i think i can thanks for the help Quote Link to comment Share on other sites More sharing options...
arctic Posted August 12, 2005 Author Report Share Posted August 12, 2005 i must admit: i have no real idea why you cannot connect unless you made a typo when entering your data or if your isp is not so linux friendly (like e.g. aol). from what i see in your config files, everything looks okay. maybe someone else has an idea... :unsure: sorry. edit: one idea! try with editing the M II not supported from NO to YES Quote Link to comment Share on other sites More sharing options...
coverup Posted August 12, 2005 Report Share Posted August 12, 2005 Well, according to ping results, you are connected - you can ping your router, can'[t you? So what is exactly a problem? On my 10.1 box, mandrake control center for some reason always shows "Testin connection.... Failed..... Not connected", but I can browse the web just fine. If you connect via a router, you can enable packet filtering on the router, then safely stop firewall on you PC and try browsing the web. See if that helps. Quote Link to comment Share on other sites More sharing options...
Guest alokcool Posted August 13, 2005 Report Share Posted August 13, 2005 if my configuration is right then may be problem is with my isp's dialer software provided with the package. thanks for ur valuable time Quote Link to comment Share on other sites More sharing options...
coverup Posted August 13, 2005 Report Share Posted August 13, 2005 Getting there... You're saying you could connect from XP with no problems... How do you connect to the ISP? Router. ADSL modem? Do you have other PCs connected via the same device which you could try to see if the connection is being maintained while your linux box can't connect? What software do you use to dial in? Quote Link to comment Share on other sites More sharing options...
Guest alokcool Posted August 13, 2005 Report Share Posted August 13, 2005 I'm connected to local cable network through LAN.My box has only ethernet card Dlink 538TX .this is my standalone pc.no other pc is connected to it.i use software provided by the ISP.there software for windows doesn't have any problem.but there linux version may be not compatible with this version.is there any other software in linux which can be used to connect the broadband net service. Quote Link to comment Share on other sites More sharing options...
Guest alokcool Posted September 6, 2005 Report Share Posted September 6, 2005 hi to all i'm just writing to thank u all who tried to help me out.now my problem is solved i.e, able to connect to the internet but not from mandrake 10.1 official version but by switching to mandriva LE 2005.after installing it instantaneously connected to the net.i dont know what was the problem with 10.1 official version. special thanks to arctic who've tried to help me from his busy schedule. Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted September 6, 2005 Report Share Posted September 6, 2005 Well deserved praise arctic. Welcome to MUB, alokcool. Thank you for also letting us know you solved the problem and how you did it. Unfortunately too many forget. I suspect that when, as you, say you were using 10.1 Official that it was setting the connection as adsl as default whereas 2005-LE I think has LAN as default in Mandrake Control Centre (MCC as we refer to it). It makes the world of difference. Cheers and happy Mandriving. John. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.