LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-11-2012, 02:01 AM   #1
khajaasmath786
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
Issue with wireless internet settings in Ubuntu


Hi,

I am new to unix so started using it by installing Ubuntu and doing some sample programs. Now I came across issue with wireless internet in ubuntu, which is installed in microsoft virtual PC.

I always get message stating that internet is not available. when i run command iwconfig, I get message stating that "No wireless connections available"

Can anyone please help me on this.



Regards,
Asmath
 
Old 01-11-2012, 02:38 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Chances are Windows is taking over the wireless config and is simply providing Ubuntu with a "network connection", which Ubuntu is using as if it's wired. In order for Ubuntu to be able to control the wireless configuration, it would need access to the wireless card itself, not just the resulting internet connection, which you would have to set up in Virtual PC (if it's even possible). Similar to having to pass CD drives and USB drives into the Virtual machine in order for it to see them.

Last edited by suicidaleggroll; 01-11-2012 at 02:39 AM.
 
Old 01-11-2012, 04:14 AM   #3
Atharv Patil
Member
 
Registered: Jan 2012
Location: Pune, Maharashtra, India
Distribution: Ubuntu, LFS, PC Linux OS, Puppy
Posts: 36

Rep: Reputation: Disabled
Lightbulb

If you are using ubuntu 11.04 or 11.10 then after connecting your wireless device click on the network icon on the top panel. The drop-down menu will come up with new wireless device or some thing similar. Select it and go thru the procedure. If you want to connect it using terminal then give me your e-mail id or wait for some time. I'll post a detailed to connect wireless internet connection thru terminal.

Last edited by Atharv Patil; 01-11-2012 at 04:19 AM.
 
Old 01-11-2012, 12:56 PM   #4
khajaasmath786
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
It would be helpful if you can send the detailed steps to connect internet from terminal.. I tried all the options in windows virtual PC but had no luck. Eagerly waiting for your reply

Regards,
Asmath

---------- Post added 01-11-12 at 12:57 PM ----------

Sorry.. My email address is khajaasmath.mohammed@gmail.com or mdkhajaasmath@gmail.com
 
Old 01-12-2012, 02:48 AM   #5
Atharv Patil
Member
 
Registered: Jan 2012
Location: Pune, Maharashtra, India
Distribution: Ubuntu, LFS, PC Linux OS, Puppy
Posts: 36

Rep: Reputation: Disabled
the steps here are for connecting through cell phone and might work for wireless modems also.
I have also mailed this guide to your mail id.

1. Turn off your cellphone and turn it on again. (This is important for some reasons. If you don't do this, the following procedures could not work.)
2. Connect your cellphone to your computer by a USB cable.
3. open a terminal and run
dmesg
4. You'll see some messages like this at the end of the output.
[17180680.104000] usb 1-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
[17180680.104000] usb 1-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
[17180680.104000] usb 1-2: palm_os_4_probe - error -32 getting connection info
[17180680.104000] visor 1-2:1.1: Handspring Visor / Palm OS converter detected
[17180680.104000] usb 1-2: Handspring Visor / Palm OS converter now attached to ttyUSB2
[17180680.104000] usb 1-2: Handspring Visor / Palm OS converter now attached to ttyUSB3

5. At the end of this output, you will find your modem port that will be represented like this: ttyUSBx or ttyACM0 or similar, make note of it. You will need it later.
6. Run System>Administration>Networking. Uncheck all the check boxes beside "Wireless Connection", "Wired Connection", and "Modem Connection". Click Modem Connection and click Properties button.
7. Check "Enable this connection"
8. Input your Internet service provider's phone number and dial prefix(Ask your cellphone company). In my case, phone number is 1501 and dial prefix is none.
9. Input your username and password(Ask your cellphone company this too). As for my case, username is sktelecom and password is none.
10. Click Modem tab.
11. Input your modem port that was acquired at the No. 5 procedure (with /dev). I tried /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2, and /dev/ttyUSB3. I finally found out that /dev/ttyUSB2 is right for me.
12. Leave dial type as it is. (Both tone and pulse worked for me)
13. Set the volume "OFF"
14. Click Options tab.
15. Check "Set modem as default route to internet" and "Use the Internet service provider nameservers"
16. Uncheck "Retry if the connection breaks or fails to start" (Checking this would bother you when debugging your problem)
17. Click OK
18. Check the check box beside "Modem connection"
19. When you check it, your cellphone would dial up your ISP immediately.
20. Open a terminal and run ifconfig
21. If it shows ppp0 connection similar to the following, your internet is on now!

ppp0 Link encap:Point-to-Point Protocol
inet addr:211.115.18.75 P-t-P:192.168.54.178 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1887 errors:2 dropped:0 overruns:0 frame:0
TX packets:1688 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1998783 (1.9 MiB) TX bytes:250817 (244.9 KiB)


22. If not, turn your cellphone off, turn it on again and try changing the modem port at the No. 11 procedure. After you change the modem port, uncheck the check box of No. 18 procedure and check it again. Your cellphone will dial up your ISP right after you uncheck and check it.

23. Repeat No. 22 procedure until you see ppp0 connection in the ifconfig messages as explained in No. 21 procedure.

24. Got it? Congratulations!

tip) If you still experience problems, the following commands would help you to see what's happening inside during dial up.
plog
or
cat /var/log/syslog

Regards,
Atharv Patil
 
  


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
[SOLVED] Trying to share Internet between Ubuntu and Arch, failing to keep settings MrCode Linux - Networking 4 02-08-2010 07:38 AM
all settings correct for internet conection, but ubuntu 7.10 still does not connect papara Linux - Newbie 2 06-16-2008 05:36 PM
need settings for moto q9 for internet connection for Ubuntu billrandle Ubuntu 0 05-07-2008 01:45 AM
Slackware blocking internet or settings incorrect for Java Wireless Toolkit? lifeforce4 Slackware 0 02-15-2008 11:41 AM


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