LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2010, 07:41 AM   #61
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15

Thanks fo all the help, however this is not working i have tryed the commands:

Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_OW_45452"
[sudo] password for smith:
smith@smith-laptop:~$ sudo ifconfig eth1 192.168.0.51 netmask 255.255.255.0 up
smith@smith-laptop:~$ sudo route add default gw 192.168.0.2


smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_OW_45452"
smith@smith-laptop:~$ sudo ifconfig eth1 192.168.0.51 netmask 255.255.255.0 up
smith@smith-laptop:~$ sudo route add default gw 192.168.0.1
smith@smith-laptop:~$
But still can not connect to any of these sites http://192.168.0.1,http://75.126.162.205 and www.linuxquestions.org

I guess it is time to step back and start over? all the information that i have given you is all that i know as far as the router, IP address etc.

I have used the commands that you requested, sometimes spelling was a problem, but it just is not working, it is getting worse. I am going to try to reinstall the Ubuntu once again to see if it corrects its self.

thanks for the time and hope to connect soon.
 
Old 01-29-2010, 08:13 AM   #62
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
LN;
I asked you several times for complete answers, I asked for specific tests, and I asked for a summary in which you address ALL of the suggestions and questions to date.

I do not understand why you do not want to do the tests I requested--and why you will not respond to several specific questions. But, that is your choice.

Your best bet at this point might be to find a local expert to sit with you and work through this---I would start with a local Linux user group.

The way I read the problem, re-installing Ubuntu is not going to help.

Good Luck
 
Old 01-29-2010, 08:23 AM   #63
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by LN Smith View Post
Thanks fo all the help, however this is not working i have tryed the commands:

Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_OW_45452"
[sudo] password for smith:
smith@smith-laptop:~$ sudo ifconfig eth1 192.168.0.51 netmask 255.255.255.0 up
smith@smith-laptop:~$ sudo route add default gw 192.168.0.2

What did you do to test the connection between the configuration steps?


smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_OW_45452"
smith@smith-laptop:~$ sudo ifconfig eth1 192.168.0.51 netmask 255.255.255.0 up
smith@smith-laptop:~$ sudo route add default gw 192.168.0.1
smith@smith-laptop:~$
But still can not connect to any of these sites http://192.168.0.1,http://75.126.162.205 and www.linuxquestions.org

I guess it is time to step back and start over? all the information that i have given you is all that i know as far as the router, IP address etc.

I have used the commands that you requested, sometimes spelling was a problem, but it just is not working, it is getting worse. I am going to try to reinstall the Ubuntu once again to see if it corrects its self.

thanks for the time and hope to connect soon.
I've stayed out of this since my first post to this thread. I think you need to concentrate on getting one connection.

Look at 'Missing your Wireless Drivers?' to get the driver functional without the hassle of device assignments/changes.

You could use the 'The Broadcom Firmware (tar.gz)' file from the above sight. Once you have the proper firmware installed then the operation will fall into place without to much effort.

I've got a 'BCM4312' which required me to jump through hoops. I went with the 'STA' drivers & patches but found the driver/firmware to be a problem at times. I tried to revert to older firmware but could not get the right one. BY chance I found this older driver that will work with my version of the 'BCM4312'. Sure, you will get warning error at boot that the driver maybe to old but it will work. The switching of the device to the 'eth1' device has caused me some reliability and recognition problems. If you use the referred driver then the 'wlan0' device will be recognized.

BTW, to reinstall your OS may/maynot remedy the problem. As I said earlier, break the problem down to working on ONE issue at a time.

Look at 'How to Ask Questions the Smart Way'.

Just a few links to aid you to understand what your doing;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 01-29-2010, 08:42 AM   #64
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by LN Smith View Post
Thanks fo all the help, however this is not working i have tryed the commands:



But still can not connect to any of these sites http://192.168.0.1,http://75.126.162.205 and www.linuxquestions.org

I guess it is time to step back and start over? all the information that i have given you is all that i know as far as the router, IP address etc.

I have used the commands that you requested, sometimes spelling was a problem, but it just is not working, it is getting worse. I am going to try to reinstall the Ubuntu once again to see if it corrects its self.

thanks for the time and hope to connect soon.
Those were 2 tests. You should have done 1 test, test the pages I indicated and THEN do the second test. I'm trying to get information from your environment. I don't know the ip address of your router and I was trying to guess it was either 192.168.0.1 OR 192.168.0.2. I still don't know because you mixed up the two tests. Please do them in order and report what you find step after step. Indeed, it is not ideal to work like that, it would be best if you could provide information from windows, like asked by pixellany. But from what I understand, your Windows machine is connected to the internet by a wire and we don't know if it is connected to the same router you are trying to connect to with your Ubuntu machine. Reinstalling Ubuntu won't help I'm afraid. You still need a way to talk to a router you know nothing about. With luck we can find how to connect to it, but it would be best if you could ask the router administrator to assign an ip address to you or to activate the DHCP server on that router.

Last edited by Agrouf; 01-29-2010 at 08:43 AM.
 
Old 01-29-2010, 08:56 AM   #65
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
onebuck;

What you may have missed is that---at one point---he had a connection. Thus, drivers don't appear to be the issue.

This is why I have requested a synopsis which lists the answers ALL questions brought up in the thread.

Last edited by pixellany; 01-29-2010 at 08:59 AM.
 
Old 01-29-2010, 09:29 AM   #66
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
hi, a few days ago they were able to ping internally (and possibly externally):
http://www.linuxquestions.org/questi...03#post3840103

how do we get them back to this point ?
 
Old 01-29-2010, 09:45 AM   #67
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by schneidz View Post
hi, a few days ago they were able to ping internally (and possibly externally):
http://www.linuxquestions.org/questi...03#post3840103

how do we get them back to this point ?
At that time, there was a DHCP offered by machine 192.168.0.1 (as you can see in the post you linked to).
But as you can see in post #52, we don't have any DHCP server responding on eth1 (connected on the linksys via wifi) anymore. I suspect there was another machine connected to the router that had a DHCP server and now this machine is off. I suspect the router doesn't offer DHCP. It looks like the router is on network 192.168.0/24 because the machines that acted as DHCP server were 192.168.0.1 and later 192.168.0.2. He pinged both machine in post #30. I don't know the ip address of the router, maybe it is one of those two machines?

We don't have DHCP anymore, so we have to guess the correct ip to set the machine to and the ip of the router to connect to. I don't know how this network is set up, but there are several machines, or the router administrator likes to change the settings without notice.

LN Smith needs to find a machine that is connected to that linksys or an administrator and tell us what is the ip address of the router, or we can use nmap and try every single machine until we find the router. I think his patience is running low though, so the last option will be difficult, especially since he doesn't like the command line much. He doesn't seem to be able to tell us which machines are connected to the router and he doesn't seem to have any contact with any administrator either. I don't know what is the best plan from there. What do you think?

Last edited by Agrouf; 01-29-2010 at 10:01 AM.
 
Old 01-29-2010, 10:59 AM   #68
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
^ are we sure the route command didnt mess with their ability to dhcp (admittedly, i dont know much about the route command).

i think they mentioned that their ipod works on the network. is it possible to see what the network parameters are on the ipod - i dont have one so i dont know how to get to that menu.
 
Old 01-29-2010, 11:32 AM   #69
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Ok not giving up just yet! this is what i know so far: This problem with the wireless connection and the Ubuntu system started when i got disconnected, a wireless connection, during a download upgrade, after I was first connected to the internet. I have been trying to install everything from a USB stick back onto the Mini sense then. Everything is working fine except for the internet connection and the NetworkManager, all other information seams to be fine.

the wireless drivers to my knolege are installed and working. they were BCM4312 and i am now using STA drivers. the iwconfig is:
Quote:
smith@smith-laptop:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11bg ESSID:"" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thrff Fragment thrff
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-57 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

smith@smith-laptop:~$
The active linksys card that i am trying to connect to is Cell 01 it is at my work place:
Quote:
smith@smith-laptop:~$ sudo iwlist eth1 scan
eth1 Scan completed :
Cell 01 - Address: 00:18:39:72:9C:23
ESSID:"linksys_OW_45452"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:4/5 Signal level:-67 dBm Noise level:-92 dBm
Encryption keyff
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; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Cell 02 - Address: EA:04:47:9C:10:0C
ESSID:"Free Public WiFi"
Mode:Ad-Hoc
Frequency:2.462 GHz (Channel 11)
Quality:1/5 Signal level:-85 dBm Noise level:-92 dBm
Encryption keyff
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s

smith@smith-laptop:~$
What i know about the linksys_OW_45452 is:
Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_OW_45452"
smith@smith-laptop:~$ sudo dhclient
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/pan0/5a:9d:c3:f9:24:64
Sending on LPF/pan0/5a:9d:c3:f9:24:64
Listening on LPF/eth1/00:25:56:66:4c:0d
Sending on LPF/eth1/00:25:56:66:4c:0d
Listening on LPF/eth0/00:25:b3:46:f1:88
Sending on LPF/eth0/00:25:b3:46:f1:88
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
smith@smith-laptop:~$
When trying to connect using the wireless connection all the settings are set to automatic. that is what they were set at when i got connected the first time.
when i tried to connect with the LAN connection on our network this is what the settings were set at, and i did not turn on my desktop to run at the same time.:
IP address 10.1.1.60
SubnetMask 255.255.255.0
Default Gateway 10.1.1.254
DNS 10.1.1.100
10.1.1.101
Metric Automatic.

Again I would like to thank all of you for your Help and support.
 
Old 01-29-2010, 11:47 AM   #70
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
hi ln, i share you frustration...
if i understand you correctly your wired lan gives ip's like 10.1.1.x
but your wireless lan gives ip's like 192.168.1.x

so either the router uses class a hierarchy for wired and class c for wireless (i dont know if that is possible).
or your workplace has 2 different routers (1 for wired/ 1 for wireless).

or it is possible that the dhclient program is screwed up because it is no longer getting an ip address from your router (you were before - maybe in the last 2 days someone changed it so that people have to be set up by an admin for security reasons -- does your ipod still work on that network ?).

this is starting to get wierd.

maybe tethering your fone would help you get internet access (but i dont know how to do that).

Last edited by schneidz; 01-29-2010 at 11:52 AM.
 
Old 01-29-2010, 12:35 PM   #71
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
You have the kind of positive attitude I like.
Maybe your desktop is using some kind of vpn virtual interface? Do you have any device that can connect to your wireless router currently?
Do you know how many machines are connected to the router? Maybe the maximum has been reached and he does not accept any other host?
I don't expect it to work, but could you please try to connect like that:
Code:
sudo iwconfig eth1 ap 00:18:39:72:9C:23
sudo dhclient eth1
(please post the output of the commands)
then post the output of
Code:
ifconfig eth1
 
Old 01-29-2010, 12:58 PM   #72
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Yes all i was given by the IP person was to use the setting :
IP address 10.1.1.(and any range 60 to 69 hear)
Subnet Mask 255.255.255.0
DNS 10.1.1.254
and then they said i would be connected! there are Two people hear today with Ipod's that aru using the router and they are connected just fine.

using this code I get:

Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 ap 00:18:39:72:9C:23
[sudo] password for smith:
Error for wireless request "Set AP Address" (8B14) :
SET failed on device eth1 ; Invalid argument.
smith@smith-laptop:~$ sudo iwconfig eth1 ap 00:18:39:72:9C:23
Error for wireless request "Set AP Address" (8B14) :
SET failed on device eth1 ; Invalid argument.
smith@smith-laptop:~$ sudo iwconfig eth1 ap 00:18:39:72:9c:23
Error for wireless request "Set AP Address" (8B14) :
SET failed on device eth1 ; Invalid argument.
smith@smith-laptop:~$ sudo dhclient eth1
There is already a pid file /var/run/dhclient.pid with pid 3073
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:25:56:66:4c:0d
Sending on LPF/eth1/00:25:56:66:4c:0d
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
Trying recorded lease 192.168.0.51
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.0.124
bound: immediate renewal.
DHCPREQUEST of 192.168.0.124 on eth1 to 192.168.0.2 port 67
smith@smith-laptop:~$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:25:56:66:4c:0d
inet addr:192.168.0.124 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe66:4c0d/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:41179
TX packets:20 errors:1445 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7286 (7.2 KB) TX bytes:5026 (5.0 KB)
Interrupt:16 Base address:0xc000

smith@smith-laptop:~$
 
Old 01-29-2010, 01:17 PM   #73
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i dont know but maybe this will work:
Code:
sudo iwconfig eth1 essid "linksys_OW_45452"
sudo /sbin/ifconfig eth1 10.1.1.65 netmask 255.255.255.0 broadcast 10.1.1.255
sudo cp /etc/resolv.conf /etc/resolv.bak
sudo echo "nameserver 10.1.1.254" >> /etc/resolv.conf
^ can somebody tell me if this looks correct ?

then try to ping stuff like 10.1.1.1, 10.1.1.254, 75.126.162.205, www.linuxquestions.org
 
Old 01-29-2010, 01:45 PM   #74
LN Smith
LQ Newbie
 
Registered: Jan 2010
Posts: 23

Original Poster
Rep: Reputation: 15
Tryed the codes and this is what i get:

Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_OW_45452"
[sudo] password for smith:
smith@smith-laptop:~$ sudo /sbin/ifconfig eth1 10.1.1.65 netmask 255.255.255.0 broadcast 10.1.1.255
smith@smith-laptop:~$ sudo cp /etc/resolv.conf /etc/resolv.bak
smith@smith-laptop:~$ sudo echo "nameserver 10.1.1.254" >> /etc/resolv.conf
bash: /etc/resolv.conf: Permission denied
smith@smith-laptop:~$ smith@smith-laptop:~$
smith@smith-laptop:~$: command not found
smith@smith-laptop:~$ ping -c 3 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
From 10.1.1.65 icmp_seq=1 Destination Host Unreachable
From 10.1.1.65 icmp_seq=2 Destination Host Unreachable
From 10.1.1.65 icmp_seq=3 Destination Host Unreachable

--- 10.1.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2016ms
, pipe 3
smith@smith-laptop:~$ ping -c 3 10.1.1.254
PING 10.1.1.254 (10.1.1.254) 56(84) bytes of data.
From 10.1.1.65 icmp_seq=1 Destination Host Unreachable
From 10.1.1.65 icmp_seq=2 Destination Host Unreachable
From 10.1.1.65 icmp_seq=3 Destination Host Unreachable

--- 10.1.1.254 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2016ms
, pipe 3
smith@smith-laptop:~$ ping -c 3 75.126.162.205
connect: Network is unreachable
smith@smith-laptop:~$ ping -c 3 www.linuxquestions.org
ping: unknown host www.linuxquestions.org
smith@smith-laptop:~$
 
Old 01-29-2010, 01:53 PM   #75
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Code:
sudo ifconfig eth1
should show us paremeters you were given but it is still not connecting.

maybe someone else will have a brighter idea
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 PM.

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
Open Source Consulting | Domain Registration