[SOLVED] Connectivity test fails OptusWrlssBrdbnd, configuration ok
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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".
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)
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 203.2.193.67
nameserver 202.135.30.4
nameserver 192.168.0.2
search vfinternet.au
I also turn off the resolv service, this stops it from renewing the dns server addresses from the modem again, reversing the changes each time(frustrating).
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.
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...
I'm using squid as a proxy-server for the same machine, you can disregard that (if you're not interested in saving bandwidth charges) and just add the other commands.
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
Last edited by GlennsPref; 11-11-2009 at 04:23 AM.
Reason: No password, and spelling
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
Probably easiest to verify access from the command line, after connecting can you please run 'ifconfig -a', 'netstat -nr' and 'cat /etc/resolv.conf'
I take command line as meaning AltF2
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'
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
192.168.82.0/24 dev vmnet8 proto kernel scope link src 192.168.82.1
192.168.11.0/24 dev vmnet1 proto kernel scope link src 192.168.11.1
default via 10.64.64.64 dev ppp0 proto static
Notice the 'default' above, you need one of these...
[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
Last edited by kbp; 11-18-2009 at 07:12 AM.
Reason: typo
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
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
/etc/resolv.conf (I turn this service off, although the file remains, to stop the system grabbing the 10.11.12.13 and 10.11.12.14 wins-dns addresses from the modem, which m$window$ uses.)
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 202.81.67.132
nameserver 203.2.193.67
search vfinternet.au
I hope you can see some correlations here, between these files contents.
with all that, you're nearly ready for a white hat (hacking).
Quote:
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.
If you have internet, don't bother. ;-)
If your using vodafone, the dns's in post #3 will suffice.
Cheers Glenn
Last edited by GlennsPref; 11-20-2009 at 12:31 AM.
Reason: spelling
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.