Connectivity test fails OptusWrlssBrdbnd, configuration ok
Hello
[MandrivaSpring,KDE, DELL D600 laptop,wireless broadband.] When I try to connect to net, the taskbar? symbol indicates connected state, so does GUI. But won't open a webpage. And when I click Configure on GUI, it shows not connected, and on trying connect there, tells me to check control centre for "verification" of configuration. (Not sure if that's a tech term , or just means, have a look, see if it looks ok. Elsewhere it says connectivity test failed. Before this I had occasional failures to connect because it couldn't see modem, or usbtty etc, but a reboot, or reseat and log out/in would fix. Annoying enough, but only annoying. BUT, this is Stucksville, no net. I spoke to an optus guy, but he knew little of Linux, and suggested a ping command. Whatever he suggested drew no response from commandline or shell. I don't remember messing around with the vitals, but maybe I've done something. Any suggestions would be great, while I have my modem and brother's otherwise netless pc to communicate from. Does it seem that it is NOT a configuration matter? The modem itself signals constant blue light which is "Connected". |
Hey widda,
Probably easiest to verify access from the command line, after connecting can you please run 'ifconfig -a', 'netstat -nr' and 'cat /etc/resolv.conf' thanks kbp |
Hi, how is it out on the rock?
I also use wireless broardband, vodafone. You may find that the dns server addresses are in the form of wins addresses, like 10.11.12.13 10.11.12.14 GNU/Linux prefers (IMHO) 202.x.x.x 203.x.x.x check the dns servers for optus (google is your friend) and edit the /etc/resolv.conf file to suit. You need root access to change this file. my /etc/resolv.conf Code:
glenn@GamesBox:~$ cat /etc/resolv.conf (02-11 07:46) I hope this helps, sounds like a dns prob to me. Regards Glenn ps, this page may help... http://forums.whirlpool.net.au/forum...m/1294753.html also, optus wireless bb... pri dns 208.67.222.222 sec dns 208.67.220.220 ref. http://forums.whirlpool.net.au/forum...m/1072813.html Quote:
|
Thanks kbp and glenns
It was the modem, and it only worked for 10 minutes on brother's netless pc before terminating totally. But I'll keep your replies in a document for future. Such things are very valuable, since I find less time than I would like to study that shell business, and in a situation like that, one just needs to know. Thanks again. Rock is warm. Widda |
I'm glad you're not cold.
I have another suggestion, although, I don't know how to apply it in GNU/Linux. And that is "power saving". (you mention it drops out after 10 minutes) I have noticed that with winxp I can turn off the power save option. And the modem just stays on, all the time, no drop outs (not-like aol's 28kb/s telephone hog, and charges, here in Aus) I'm sure there is a "command" that may be inserted in the string used to initiate the modem on boot/start. Maybe one of our guru's will pick-up and let us know. I still have probs with the modem disconnecting with GNU/Linux. With both Huawei E220 and Huawei K3500 usb G3 modems. One program/Package i did not mention is "comgt", It doesn't help with the power save, but.... On my system all the network files are in /etc and /etc/ppp and /etc/sysconfig/network-scripts/... I use /etc/rc.d/rc.local to start the programs at boot. Like this... Code:
#!/bin/sh And you may not require the eth0 lines. By the way (btw), Mandriva 2010.0 is out, and I tried it using the wireless wizard, and it "just worked" (vodafone) It did not require a password to login as the 2009.1 prog did (kde4). Regards Glenn |
Thanks again Glenn,
I'm still at the stage of bewilderment at the filesystem in linux; and couldn't begin to find e.g. a boot string. Don't know where anything is, I made a folder in my documents called 'file these' for things which have landed in home folder but which I suspect should be in particular places. Have printed 'A Guided Tour' of filesystem. Probably need to do more homework, never use shell, sometimes start program with Alt+F2, if that doesnt work, sometimes I can find it. There is a crowd of questionmark icons in /dev/tty which ask me what to open them with. Don't know why I can go into root without signing on as root, but it's demanded for other things. and so on. In short, most of your instruction is lost on me, but as I said I am preserving these posts in case I understand how to implement them sometime. (my new modem is playing up similarly to old one (HUAWEI) I also cannot ascertain whether Mand2009.1 can be upgraded to 10 without cost. There are a thousand other things I'd like to know, and am still trying to figure out the most important dozen! But I do appreciate the time you've thrown at this modem difficulty. I'm off to try a simple one-liner that another poster suggested here. cheers, widda |
I'm studying your post on dns, but missing some basic knowledge perhaps!
|
Quote:
The only result was with the second which offered to run netstat. I pressed enter and maybe it did run netstat, but i saw nothing. The others, nothing offered. And I open shell to try, under user($) first one gets commandnotfound, second gets[e@localhost ~]$ netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 Third gets 'nosuchfileordirectory' |
Hey widda,
If you run Gnome window manager (a foot print in the top left corner?) then you should be able to click Applications >> System Tools >> Terminal. Once there you should be able to run the following: '/sbin/ifconfig -a' - this will list all your network interfaces and their configuration 'ip route' - equivalent to 'netstat -nr', shows us how the kernel will decide to send network traffic Example output: Code:
10.64.64.64 dev ppp0 proto kernel scope link src 10.239.220.164 cheers |
hey kbp
I use kde, gnome is somewhere aboard. Terminal = bash?. here is output [e@localhost ~]$ /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0D:56:7A:5E:BC BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 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:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:440 (440.0 b) TX bytes:440 (440.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:122.110.188.49 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:5515 errors:0 dropped:0 overruns:0 frame:0 TX packets:5725 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:4123361 (3.9 MiB) TX bytes:1011034 (987.3 KiB) [e@localhost ~]$ localhost ~]$ /sbin/ifconfig -a bash: localhost: command not found [e@localhost ~]$ eth0 Link encap:Ethernet HWaddr 00:0D:56:7A:5E:BC bash: eth0: command not found [e@localhost ~]$ BROADCAST MULTICAST MTU:1500 Metric:1 bash: BROADCAST: command not found [e@localhost ~]$ RX packets:0 errors:0 dropped:0 overruns:0 frame:0 bash: RX: command not found [e@localhost ~]$ TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 bash: TX: command not found [e@localhost ~]$ collisions:0 txqueuelen:1000 bash: collisions:0: command not found [e@localhost ~]$ RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) bash: syntax error near unexpected token `(' [e@localhost ~]$ Interrupt:11 bash: Interrupt:11: command not found [e@localhost ~]$ [e@localhost ~]$ lo Link encap:Local Loopback bash: lo: command not found [e@localhost ~]$ inet addr:127.0.0.1 Mask:255.0.0.0 bash: inet: command not found [e@localhost ~]$ inet6 addr: ::1/128 Scope:Host bash: inet6: command not found [e@localhost ~]$ UP LOOPBACK RUNNING MTU:16436 Metric:1 bash: UP: command not found [e@localhost ~]$ RX packets:8 errors:0 dropped:0 overruns:0 frame:0 bash: RX: command not found [e@localhost ~]$ TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 bash: TX: command not found [e@localhost ~]$ collisions:0 txqueuelen:0 bash: collisions:0: command not found [e@localhost ~]$ RX bytes:440 (440.0 b) TX bytes:440 (440.0 b) bash: syntax error near unexpected token `(' [e@localhost ~]$ [e@localhost ~]$ ppp0 Link encap:Point-to-Point Protocol bash: ppp0: command not found [e@localhost ~]$ inet addr:122.110.188.49 P-t-P:10.64.64.64 Mask:255.255.255.255 bash: inet: command not found [e@localhost ~]$ UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 bash: UP: command not found [e@localhost ~]$ RX packets:5515 errors:0 dropped:0 overruns:0 frame:0 bash: RX: command not found [e@localhost ~]$ TX packets:5725 errors:0 dropped:0 overruns:0 carrier:0 bash: TX: command not found [e@localhost ~]$ collisions:0 txqueuelen:3 bash: collisions:0: command not found [e@localhost ~]$ RX bytes:4123361 (3.9 MiB) TX bytes:1011034 (987.3 KiB) bash: syntax error near unexpected token `(' [e@localhost ~]$ Did you mean 'ip route' as a command? nothing happened. This all does not look similar to what may be expected haha Meantime modem problem seems to have been (temporarily?) fixed by itself.. |
The output from 'ifconfig -a' looks fine, no errors on the ppp connection. It looks like you accidently copied the output of ifconfig and pasted it back into the terminal :) .. never mind.
Glad things are working.. let us know if it drops out on you again cheers |
Hi, I see from your output that eth0 is running in promiscuous mode, with out an ip address.
You might see a change if you set the eth0 ip. Try running the commands as su or sudo you don't need to alt+F2, use konsole. Set the ip by using the software interface for your distribution. Configure network/lan If you already have, type... ifdown eth0 && ifup eth0 Cheers Glenn |
cheers kbp.
OK Glenn: I don't use eth0. (I would want if I were in library?) I found the place to configure it, I guess. It's set to Automatic IP(BOOTP, DHCP or something). Switching to Manual, it asks for IP, Netmask, Gateway, DNSservers 1 & 2, and Host Name, That's end of the line for me. I could start googling netmask etc,but that feels like an abandoned railyard out there. With the 'ifdown eth0 && ifup eth0', you mean type it in Konsole as su or sudo I think; but I won't do it yet, because you did say "if" I have done the other thing with eth0. But here is extract from hardware profile command I learned way back, in case it's relevant LOL: thanks , widda id: network description: Ethernet interface product: NetXtreme BCM5702X Gigabit Ethernet vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:02:00.0 logical name: eth0 version: 02 serial: 00:0d:56:7a:5e:bc capacity: 1GB/s width: 64 bits clock: 66MHz capabilities: pcix pm vpd msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation = on broadcast = yes driver = tg3 driverversion = 3.97 firmware = 5702-v2.25 latency = 64 link = no mingnt = 64 multicast = yes port = twisted pair resources: irq : 11 memory : faff0000-faffffff |
Hi widda, If the system is working, then all's well.
But just for future info.... this line... 10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 is the gateway (10.64.64.64) and it's subnet mask (255.255.255.255) for ppp0 (the (modem)internet interface). this line... 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo is the loopback, or local host. Every system needs this, even without a network. (in most cases) Now, this is still just info, ok?, if you wanted to have eth0 assigned an address, the netmask would be different, but the gw (gateway) would be 10.64.64.64 When you add the ip address (for a local network) like 192.168.0.1, the system will auto-magically (I think that's a GNU/Linux term, lol) assign the appropriate netmask. For 192.168.x.x it is usually 255.255.255.0. If you'd like to see the files and contents for these devices, have a look in /etc/sysconfig/network-scripts. for instance.... modem boot script.../etc/sysconfig/network-scripts/chat-ppp0 Code:
ABORT BUSY /etc/sysconfig/network-scripts/ifcfg-eth0 Code:
DEVICE=eth0 Code:
DEVICE=lo Code:
DEVICE=ppp0 Code:
NETWORKING=yes Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) with all that, you're nearly ready for a white hat (hacking). Quote:
If your using vodafone, the dns's in post #3 will suffice. Cheers Glenn |
Just discovered my profile home, and list of threads I;ve been involved in, and trawling about; that last post of yours - well, I know where it is now, via profile account thingy, and it looks useful lol, and probably will be one time I look at it. Thanks
|
All times are GMT -5. The time now is 10:39 PM. |