VectorLinux
December 20, 2014, 06:42:03 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Connected to router but not internet  (Read 10591 times)
Jodie
Member
*
Posts: 13


« on: October 15, 2010, 05:52:40 pm »

I'm not only a linux newbie but I'm not too literate where networking is concerned.  Any replies need to be detailed but any help greatly appreciated.  Here some info (note my windows settings at the end)...

root:# ping -c 3 192.168.1.66
PING 192.168.1.66 (192.168.1.66) 56(84) bytes of data.
64 bytes from 192.168.1.66: icmp_seq=1 ttl=64 time=0.066 ms
64 bytes from 192.168.1.66: icmp_seq=2 ttl=64 time=0.070 ms
64 bytes from 192.168.1.66: icmp_seq=3 ttl=64 time=0.061 ms

--- 192.168.1.66 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.061/0.065/0.070/0.010 ms

-------------------------------------------------------

root:# ping -c 3 72.30.2.43
PING 72.30.2.43 (72.30.2.43) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

--- 72.30.2.43 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms

------------------------------------------------------

root:# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:1D:68:74:81:AD
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=56/70  Signal level=-54 dBm 
                    Encryption key:on
                    ESSID:"SpeedTouch273C1F"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000008415df9189
                    Extra: Last beacon: 219ms ago
                    IE: Unknown: 00105370656564546F756368323733433146
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD060010180201F0
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E00623

---------------------------------------------

root:# iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:"SpeedTouch273C1F" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1D:68:74:81:AD   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm  Noise level=-127 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

---------------------------------------------------

root:# /sbin/ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:19:d2:b1:c2:8e 
          inet addr:192.168.1.66  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:46252 (45.1 KiB)  TX bytes:2426 (2.3 KiB)

----------------------------------------------------------

root:# /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.1.254   0.0.0.0         UG    0      0        0 wlan0

-----------------------------------------------

root:# cat /etc/resolv.conf
# Generated by dhcpcd for interface wlan0
search lan
nameserver 192.168.1.254

------------------------------------
-----------------------------------

My settings from windows...

Connection Settings
PVC Info (VPI.VCI): 0.35
Type: PPPoE
-----------------
TCP/IP Settings
IP Address: 68.232.74.107/32
Default Gateway: 204.11.122.249
Primary DNS: 204.11.120.147
Secondary DNS: 204.11.120.211
« Last Edit: October 17, 2010, 12:51:16 pm by Jodie » Logged
bigpaws
Vectorian
****
Posts: 1862


« Reply #1 on: October 15, 2010, 06:08:57 pm »

You got close. The first ping created a loop back which is why there
was a response.

Ping your router first if that works then try the other ping.

/etc/resolv.conf

look ok as well as route.

What is the name  make and model of the Wireless card?

Bigpaws


Logged
Jodie
Member
*
Posts: 13


« Reply #2 on: October 15, 2010, 06:19:39 pm »

192.168.1.66 is my router, that is what I did first.

Wireless card is internal Intel PRO/Wireless 3945ABG.
Logged
bigpaws
Vectorian
****
Posts: 1862


« Reply #3 on: October 15, 2010, 07:01:03 pm »

Quote
root:# /sbin/ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:19:d2:b1:c2:8e
          inet addr:192.168.1.66  Bcast:192.168.1.255  Mask:255.255.255.0

That is the address on the wireless card.

Bigpaws
Logged
Jodie
Member
*
Posts: 13


« Reply #4 on: October 17, 2010, 12:45:05 pm »

my bad...

root:# ping -c 3 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

--- 192.168.1.254 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2000ms

How come it can pick up the ESSID but not ping it??

Jodie
Logged
newt
Vectorian
****
Posts: 1132



« Reply #5 on: October 17, 2010, 01:09:26 pm »

Quote
Connection Settings
PVC Info (VPI.VCI): 0.35
Type: PPPoE
-----------------
TCP/IP Settings
IP Address: 68.232.74.107/32
Default Gateway: 204.11.122.249
Primary DNS: 204.11.120.147
Secondary DNS: 204.11.120.211

The info you provided from your windows system is significantly different than what's being attempted in VL.  Above (windows) shows that the connection is PPPOE with the modem either 1) being directly inside your system, or 2) directly connected to your system. This is indicated by the IP address your Windows system is assigned (i.e. an external IP address).

This thread is headed down the path of configuring your system on an local network using local IP addresses (i.e. 192.168.x.x).

It would be best to clear up the details of your network infrastructure before proceeding to configure your wireless device with an internal IP address.
Logged
Jodie
Member
*
Posts: 13


« Reply #6 on: October 17, 2010, 01:19:52 pm »

My laptop is connected wirelessly to my DSL router/modem.  Those windows settings are from the router configuration page. 

So what do I do?
« Last Edit: October 17, 2010, 01:26:20 pm by Jodie » Logged
hata_ph
Packager
Vectorian
****
Posts: 3261


-- Just being myself --


« Reply #7 on: October 17, 2010, 04:16:32 pm »

Are your network connection using DHCP or STATIC IP?

type ipconfig -all at command prompt in your windows system...show us the result...
Logged
Jodie
Member
*
Posts: 13


« Reply #8 on: October 17, 2010, 04:59:41 pm »

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Jodie>ipconfig -all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : FOX
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : lan

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : 00-16-CF-F7-DF-B4
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . : lan
   Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Con
nection
   Physical Address. . . . . . . . . : 00-19-D2-B1-C2-8E
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::5146:b5be:2f24:7e8f%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.66(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Sunday, October 17, 2010 5:15:16 PM
   Lease Expires . . . . . . . . . . : Monday, October 18, 2010 5:20:17 PM
   Default Gateway . . . . . . . . . : 192.168.1.254
   DHCP Server . . . . . . . . . . . : 192.168.1.254
   DHCPv6 IAID . . . . . . . . . . . : 218110418
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-44-13-FD-00-16-D4-CF-69-D4

   DNS Servers . . . . . . . . . . . : 192.168.1.254
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 00-16-D4-CF-69-D4
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.lan:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : lan
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e74:49e:3f88:bb17:b594(Prefe
rred)
   Link-local IPv6 Address . . . . . : fe80::49e:3f88:bb17:b594%15(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled
Logged
bigpaws
Vectorian
****
Posts: 1862


« Reply #9 on: October 18, 2010, 10:34:55 am »

If you can not ping 192.168.1.254 then you do not have
a connection.

This is the first thing to get right.

Your wireless card should have no problems with Linux.

After a reboot try to ping the router. If successful then there
is no need to do anything else. Then test DNS by using ping to
ping the address I asked which is yahoo.com (except it is the real
ip address not the name). If this works then try using yahoo.com in its
place. If works then nothing further.

If this does not work. 

Try using VASM as super user to configure your wireless card and do the
testing as stated above.

The only other thought is that this is a PPPoE connection in which case
you would need to setup a pppoe client. (The only reason I mention this
is due the PPPoE being seen in one of your posts).

Bigpaws
Logged
Jodie
Member
*
Posts: 13


« Reply #10 on: October 18, 2010, 04:23:46 pm »

Tried all...don't know what I'm doing...nothing's working...ready to give up!

Dear linux programmers...there has to be an easier way!
Logged
bigpaws
Vectorian
****
Posts: 1862


« Reply #11 on: October 18, 2010, 04:39:43 pm »

I am sorry that you are having such problems.

This hardware has worked for me without any need for
any intervention besides configuring the network. There
is native support for this wireless card.

It is possible one of the settings you changed has
become the problem.

Perhaps a resinstall and try using VASM to setup the
wireless.

Bigpaws
Logged
GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #12 on: October 18, 2010, 09:22:04 pm »

I don't know much about networking, but I've always been able to get things working. This sometimes involves flailing about, so I can't recount what I did. Anyway, you need to have the wicd daemon and/or the wifi-radar daemon running. You enable them through VASM, SUPER, SERVICE, SERVSET, select your runlevel or enable the daemons in all of them, then select wicd and/or wifi-radar. I have just wicd enabled on my wireless laptop. OK your way out.

Have you tried wicd to set up your wireless connection? That's what I use. I do have one odd thing that happens every time I boot VL6 Light. My connection is active when VectorLinux starts up, but I can't get on the Internet then. Using wicd I have to disconnect the active connection and then reconnect the connection. Then I can get on the Internet. I've tried all kinds of things to eliminate this extra step, but they don't work. So I gave up and just disconnect and reconnect and everything works fine then. The connection is very solid and never gives me problems.

I have a TrendNet USB wireless adapter with a Ralink chip. I think the driver is rt2870sta. I use WPA encryption and fixed IP addresses. I think I had to do some hair pulling getting it to work, but I've forgotten what I did. Nothing extraordinary.

Good luck! Try not to get discouraged because using VectorLinux is worth whatever effort it takes to get your wireless working.
--GrannyGeek
Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
hata_ph
Packager
Vectorian
****
Posts: 3261


-- Just being myself --


« Reply #13 on: October 19, 2010, 12:39:49 am »

Are you using DHCP or STATIC IP?
What is the IP of your router?
can you ping the IP of your router from your linux?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!