LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-31-2009, 06:24 AM   #1
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Rep: Reputation: 31
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".
 
Old 11-01-2009, 04:42 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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
 
Old 11-01-2009, 04:54 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
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)
# 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).

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:
User #19922 345 posts
CL0SeY
Forum Regular


Load up the profile options for your connection, hit 'Edit'
http://img293.imageshack.us/img293/627/optionseq9.png

Hit 'Advanced' and add the OpenDNS settings in the text boxes:
http://img380.imageshack.us/img380/6922/advancedti2.png

Last edited by GlennsPref; 11-01-2009 at 05:08 PM.
 
Old 11-11-2009, 12:31 AM   #4
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
Thumbs up

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
 
Old 11-11-2009, 04:27 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
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
#
touch /var/lock/subsys/local
service squid stop
ifdown eth0
/etc/init.d/atomic.firewall
ifup eth0
service squid start
#squid -N
ifdown ppp0
ifup ppp0
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 05:23 AM. Reason: No password, and spelling
 
Old 11-16-2009, 06:31 AM   #6
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
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
 
Old 11-16-2009, 06:34 AM   #7
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
I'm studying your post on dns, but missing some basic knowledge perhaps!
 
Old 11-16-2009, 06:46 AM   #8
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by kbp View Post

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'
 
Old 11-16-2009, 08:25 AM   #9
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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 
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...

cheers
 
Old 11-18-2009, 04:48 AM   #10
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
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..
 
Old 11-18-2009, 07:09 AM   #11
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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 08:12 AM. Reason: typo
 
Old 11-18-2009, 07:17 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
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
 
Old 11-19-2009, 10:22 PM   #13
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
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
 
Old 11-20-2009, 01:30 AM   #14
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
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
ABORT ERROR
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'Invalid Login'
ABORT 'Login incorrect'
ABORT VOICE
ABORT 'NO ANSWER'
ABORT DELAYED
ABORT 'SIM PIN'
'' ATZ
OK-AT-OK 'AT+CPIN?'
OK-AT-OK 'AT+CMEE=2'
OK-AT-OK 'AT+CGDCONT=3,"IP","vfinternet.au"'
OK-AT-OK 'AT+CGATT?'
OK 'ATDT*99***3#'
TIMEOUT 120
CONNECT ''
TIMEOUT 5
'~--' ''
eth0 config file (note the dns 1&2 and gateway)
/etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=10.64.64.64
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=yes
DNS1=203.2.193.67
DNS2=202.135.30.4
DOMAIN=vfinternet.au
RESOLV_MODS=no
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6TO4INIT=no
/etc/sysconfig/network-scripts/ifcfg-lo
Code:
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/sysconfig/network-scripts/ifcfg-ppp0
Code:
DEVICE=ppp0
ONBOOT=yes
METRIC=40
USERCTL=yes
LINESPEED=115200
MODEMPORT=/dev/ttyUSB0
DEBUG=yes
PERSIST=yes
DEFROUTE=yes
ACCOUNTING=yes
CELLULAR_CID=3
/etc/sysconfig/network (some things here are for the Squid proxy server)
Code:
NETWORKING=yes
GATEWAYDEV=ppp0
HOSTNAME=GamesBox.GlennsPref.net
FORWARD_IPV4=true
/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 01:31 AM. Reason: spelling
 
Old 01-21-2010, 05:49 AM   #15
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
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
 
  


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
LFS 6.4: a coreutils test fails ReyJavikVI Linux From Scratch 3 06-21-2009 03:09 PM
What GSM phone can I buy to test wireless connectivity with fedora linux? karthickannamalai Linux - Software 1 06-27-2008 08:11 AM
how to test network programs with out LAN connectivity on FC5 morningkiran Linux - Networking 3 02-07-2007 03:38 AM
ISO Fails Test p2pfire Fedora 3 01-07-2007 06:05 PM
TEST fails bato Linux - Networking 1 11-08-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration