How to tether your Nokia N95s Internet connection to your laptop via USB in Linux 어떻게 노트북에 USB를 통해 노키아는 리눅스에서 귀하의 인터넷 연결을 밧줄로 N95s

by Ken Murray on October 27, 2008 머레이 2008년 10월 27일에 의해

리눅스심비안

Sometimes you end up somewhere with your laptop where you just can’t find any open WiFi. 가끔은 당신이 당신의 노트북과 함께 어디 선가 그냥 열려있는 WiFi를 찾을 수 없다 끝. Luckily you have a Nokia N95 and a USB data cable. 다행히도 당신이해야하는 노키아 N95과 USB 데이터 케이블. I’m going to show you how to tether your N95 to your laptop via USB the quick and dirty command line way, as well as the prettier GUI way. 내가 얼마나 당신의 노트북에 USB를 통해뿐만 아니라듯한 GUI를 신속하고 더러운 방법은 명령줄 방법 N95의 한계를 보여주겠다. In these examples I am running Fedora 9 and Gnome. 내가 그놈을 실행 오전 9 페도라 이러한 예가 있음.

Warning: You probably only want to do this if you have a decent data plan. 경고 : 만약 당신이 괜찮은 데이터를 계획을 가지고 당신은 아마 이것을하길 원해요. Using 3G data can result in a very large bill! 3 세대 데이터를 사용하여 매우 큰 지폐가 발생할 수있습니다!

  1. You need have the ppp package and the wvdial package installed. 당신은 PPP는 패키지와 패키지가 설치되어 wvdial 필요합니다. If you don’t, you can simply run, as root in a terminal window, yum install ppp wvdial (or use the package manager for your Linux distro). 그렇게하지 않으면, 당신은 단순히 터미널 윈도우에서 루트로, 냠 (또는 귀하의 리눅스 배포판)에 대한 PPP를 wvdial 패키지 관리자를 사용하여 설치를 실행할 수있습니다.
  2. Start by plugging your phone into the computer with a USB data cable. 는 USB 데이터 케이블로 컴퓨터에 연결하여 귀하의 휴대 전화를 시작합니다. When the phone prompts you to select the connection mode, select PC Suite . 때 휴대 전화를 선택하고 PC의 스위트 연결 모드를 선택하라는 메시지.
  3. Now open a terminal window and check your dmesg output. 이제 터미널 창을 열고 당신의 dmesg 출력도 확인해보십시오. You should see something similar to the following: 당신이 뭔가를 다음과 유사하게 나타납니다 :

    [user@radon ~]$ dmesg [라돈 @ 사용자 ~] $ dmesg
    usb 4-2: new full speed USB device using uhci_hcd and address 16 의 USB 4-2 : 새로 풀 스피드 USB 장치 uhci_hcd 사용과 주소 16
    usb 4-2: configuration #1 chosen from 1 choice 4-2의 USB : 구성 # 1월 1일 선택에서 선택
    cdc_acm 4-2:1.10: ttyACM0: USB ACM device cdc_acm 4-2:1.10 : ttyACM0하기 : USB 학술원 장치
    usb 4-2: bad CDC descriptors 4-2의 USB : 나쁜 CDC는 설명
    usb 4-2: bad CDC descriptors 4-2의 USB : 나쁜 CDC는 설명
    usb 4-2: New USB device found, idVendor=0421, idProduct=0070 의 USB 4-2 : 새로 만든 USB 장치를 발견 idVendor = 0421, idProduct = 0070
    usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 의 USB 4-2 : 새로 만든 USB 장치 문자열 : 제조사 = 1, 제품 = 2, SerialNumber = 0
    usb 4-2: Product: Nokia N95 8GB 4-2의 USB : 제품 : 노키아 N95 팔기가바이트
    usb 4-2: Manufacturer: Nokia 4-2의 USB : 제조사 : 노키아

    Note the line that says cdc_acm 4-2:1.10: ttyACM0: USB ACM device . 그 cdc_acm 4-2:1.10 : ttyACM0하기 : USB 학술원 장치 라인을 참고있다. This tells us that the phone’s modem is at /dev/ttyACM0. 이것은 휴대 전화의 모뎀 / dev/ttyACM0에서 우리가 알 수있다.

Now we move on to the quick and dirty command line setup. 이제 우리에 대한 신속하고 더러운 커맨드 라인 설치로 이동합니다. Feel free to skip to the 느낌이 넘어가 무료 GUI setup GUI를 설치 below if you aren’t very comfortable with the command line. 그렇지 않다면 아래 명령줄 매우 편안합니다.

  1. Edit /etc/wvdial.conf and make it look like this: 은 / etc / wvdial.conf 편집하고이처럼 보이게 :
  2. Modem = /dev/ttyACM0 모뎀 = / dev/ttyACM0
    Baud = 460800 보오드 = 460,800
    SetVolume = 0 SetVolume = 0
    Dial Command = ATDT 다이얼 명령 = ATDT
    Init1 = ATZ Init1 = ATZ
    Init3 = ATM0 Init3 = ATM0
    FlowControl = CRTSCTS FlowControl = CRTSCTS

    [Dialer USB] [다이얼러의 USB]
    Username = user 사용자 = 사용자
    Password = pass 비밀 번호를 통과 =
    Phone = *99***1# 전화 = * 99 *** 1 #
    Stupid Mode = 1 바보 모드 = 1
    Init1 = ATZ Init1 = ATZ
    Inherits = Modem0 상속 = Modem0

  3. I’m using Rogers Wireless in Canada and the above is the minimum configuration that works for me. 나는 캐나다에서 위의 로저스 와이어리스를 사용하는데 최소 구성입니다 나를 위해 작동합니다. Literally Username = user and Password = pass. 아이디 = 사용자 이름과 비밀 번호를 그대로 통과 =. You may need to make changes to the Username, Password, and Phone lines. 당신은 아이디, 비밀 번호를 변경하려면, 그리고 전화 라인이 필요할 수있습니다. Contact your wireless provider for the correct details. 정확한 세부 사항을위한 무선 제공 업체에 문의하십시오.
  4. I also had to create a script called /etc/ppp/ip-up.local to make the automatic DNS configuration work. 또한 스크립트와 / etc / ppp / IP를 - DNS 구성을 자동으로 작동하도록 만들라는 up.local했다. Here’s my ip-up.local: 여기에 내 IP - up.local의 :
  5. #!/bin/bash #! / 빈 / bash는
    #

    PATH=/sbin:/usr/sbin:/bin:/usr/bin 이 PATH = / sbin :에서는 / usr / sbin : / 빈하십시오 : / usr / 빈
    export PATH 수출이 PATH
    echo “# created by pppd” > /etc/resolv.conf "하여 만든 # 메아리"> / etc 해당 pppd / resolv.conf 파일
    echo “nameserver ${DNS1}” >> /etc/resolv.conf "네임 $ (DNS1)">> / etc / resolv.conf 파일 메아리
    echo “nameserver ${DNS2}” >> /etc/resolv.conf "네임을 $ (DNS2)">> / etc / resolv.conf 파일 메아리
    chmod go+r /etc/resolv.conf + R을 가지는 / etc chmod를 / resolv.conf 파일

    Don’t forget to chmod 755 /etc/ppp/ip-up.local chmod를하는 것을 잊지 마십시오 755와 / etc / ppp / IP를 - up.local

  6. Unfortunately I have not been able to connect as a normal user in this configuration so you’ll have to connect as root. 그래서 루트로 연결해야합니다 불행히도 나는이 구성에서 일반 사용자로 연결할 수없습니다.

    [root@radon ~]# wvdial USB [라돈 @ 루트 ~] # wvdial의 USB
    –> WvDial: Internet dialer version 1.60 -> WvDial : 인터넷 전화 걸기 버전 1.60
    –> Cannot get information for serial port. -> 직렬 포트에 대한 정보를 얻을 수없습니다.
    –> Initializing modem. -> 초기화 모뎀.
    –> Sending: ATZ -> 보내기 : ATZ
    ATZ
    OK 오클라호마
    –> Sending: ATM0 -> 보내기 : ATM0
    ATM0
    OK 오클라호마
    –> Modem initialized. -> 모뎀을 초기화합니다.
    –> Sending: ATDT*99***1# -> 보내기 : ATDT * 99 *** 1 #
    –> Waiting for carrier. -> 항공 기다 리면서.
    ATDT*99***1# ATDT * 99 *** 1 #
    CONNECT 접속
    ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}”}&} }*} } g}%~ ~ [층 ]}#@!}!})) 2 }#}$@#}!}$}% \ }"}&}) *)) G 조) % ~
    –> Carrier detected. -> 캐리어를 발견했습니다. Starting PPP immediately. 즉시 PPP를 시작했다.
    –> Starting pppd at Sun Oct 19 16:48:56 2008 -> 썬 10월 19일 16시 48분 56초 2008 pppd 시작
    –> Pid of pppd: 8028 -> pppd의 PID : 8028
    –> Using interface ppp0 -> 인터페이스를 사용 ppp0
    –> local IP address 172.28.53.106 -> 로컬 IP 주소를 172.28.53.106
    –> remote IP address 10.6.6.6 -> 원격 IP 주소가 10.6.6.6
    –> primary DNS address 207.181.101.4 -> 주 DNS 주소를 207.181.101.4
    –> secondary DNS address 207.181.101.5 -> 보조 DNS 주소를 207.181.101.5

  7. I removed the lines containing unprintable characters, but otherwise you should see something very similar to above. 알아요,하지만 라인을 제거하지 않은 문자가 포함된 달리 뭔가 매우 위와 같은 정보가 표시됩니다. Note that wvdial stays in the foreground. 참고 wvdial 전경에 그대로 남아있습니다. This is so you can disconnect by simply pressing Ctrl-C. 이 때문에 단순히 Ctrl - C를 눌러 끊을 수있다는 것입니다.
  8. You can verify that you are online by switching to a new terminal window and running ifconfig. 당신이 새 터미널 창을 실행하여 스위칭 및 ifconfig는 온라인에서 확인할 수있습니다.

    [root@radon ~]# ifconfig [라돈 @ 루트 ~] ifconfig는 #
    lo Link encap:Local Loopback 싸다 링크 Encap : 로컬 루프백
    inet addr:127.0.0.1 Mask:255.0.0.0 INET 소 : 127.0.0.1 마스크 : 255.0.0.0
    inet6 addr: ::1/128 Scope:Host inet6 소 : : : 1 / 128 범위 : 호스트
    UP LOOPBACK RUNNING MTU:16436 Metric:1 루프백 나오는 MTU를 업 : 16,436 메트릭 : 1
    RX packets:12767 errors:0 dropped:0 overruns:0 frame:0 RX에 패킷 : 12767 오류 : 0 떨어뜨 : 0 오버런 : 0 프레임 : 0
    TX packets:12767 errors:0 dropped:0 overruns:0 carrier:0 텍사스 패킷 : 12767 오류 : 0 떨어뜨 : 0 오버런 : 0 통신사 : 0
    collisions:0 txqueuelen:0 충돌 : 0 txqueuelen : 0
    RX bytes:714652 (697.9 KiB) TX bytes:714652 (697.9 KiB) RX에 바이트 : 714652 (697.9 KiB), 텍사스 바이트 : 714652 (697.9 KiB)

    ppp0 Link encap:Point-to-Point Protocol 링크 ppp0 Encap :위한 Point - to - 포인트 프로토콜
    inet addr:172.28.53.106 PtP:10.6.6.6 Mask:255.255.255.255 INET 소 : 172.28.53.106 PtP : 10.6.6.6 마스크 : 255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 POINTOPOINT 나오는 NOARP 멀티 캐스트 MTU는 위쪽 : 1500 메트릭 : 1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0 RX에 패킷 : 4 오류 : 0 떨어뜨 : 0 오버런 : 0 프레임 : 0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 텍사스 패킷 : 5 오류 : 0 떨어뜨 : 0 오버런 : 0 통신사 : 0
    collisions:0 txqueuelen:3 충돌 : 0 txqueuelen : 3
    RX bytes:64 (64.0 b) TX bytes:94 (94.0 b) RX에 바이트 : 64 (64.0 b)는 텍사스 바이트 : 94 (94.0 b)는

    [root@radon ~]# ping simplehelp.net [라돈 @ 루트 ~] # ping 명령 simplehelp.net
    PING simplehelp.net (74.52.95.42) 56(84) bytes of data. 데이터의 PING을 simplehelp.net (74.52.95.42) 56 (84) 바이트.
    64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=1 ttl=46 time=110 ms 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq = 1에서 64 바이트 개 TTL = 46 시간 = 110 ms의
    64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=2 ttl=46 time=102 ms 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq = 2 바이트에서 64 개 TTL = 46 시간 = 102 ms의
    64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=3 ttl=46 time=164 ms 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq = 3에서 64 바이트 개 TTL = 46 시간 = 164 ms의
    64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=4 ttl=46 time=130 ms 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq = 4 바이트에서 64 개 TTL = 46 시간 = 130 ms의
    64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=5 ttl=46 time=149 ms 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq = 5에서 64 바이트 개 TTL = 46 시간 = 149 ms의
    ^C ^ C
    — simplehelp.net ping statistics — - simplehelp.net에서 ping 통계 -
    5 packets transmitted, 5 received, 0% packet loss, time 4513ms 5, 0 % 패킷 손실, 시간이받은 5 패킷을 전송, 4513ms
    rtt min/avg/max/mdev = 102.061/131.349/164.376/23.190 ms RTT 분 / 평균 / 최대 / mdev = 102.061/131.349/164.376/23.190 탐색

  9. Once you are finished online, don’t forget to switch back to the terminal where you ran wvdial and press Ctrl-C. 후에는 터미널을 어디로 도망 - C를 다시 전환하면 Ctrl 키를 wvdial 잊지 말고 온라인으로 마무리됩니다.

    ^CCaught signal 2: Attempting to exit gracefully… ^ CCaught 신호 2 : 정상적으로 종료하려고 시도 ...
    –> Terminating on signal 15 -> 신호가 15 일 종료
    –> Connect time 4.7 minutes. - 4.7 분 정도 시간을 연결>.
    –> Disconnecting at Sun Oct 19 18:24:32 2008 -> 썬 10월 19일 18시 24분 32초 2008 분리


GUI Method GUI를 방법

Now, if all that command line stuff scares you, here’s how to make it work using Gnome’s GUI: 지금, 만약 그 커맨드 라인의 모든 물건, 여기 무서워 그놈의 GUI를 사용하여 어떻게 작동하게하려면 :

  1. Click System -> Administration -> Network 시스템을 누릅니다 -> 관리 -> 네트워크
  2. You will be asked to enter your root password. 귀하의 루트 암호를 입력하라는 메시지가 표시됩니다. Enter it and click OK . 그것을 입력하고 확인을 클릭합니다.
  3. Now you can see a list of installed network devices. 지금 설치되어있는 네트워크 장치의 목록을 볼 수있습니다. Click on the Hardware tab. 하드웨어 탭을 클릭하십시오.

  4. click to enlarge 클릭하시면 확대됩니다


    click to enlarge 클릭하시면 확대됩니다

  5. Now click the New button, select Modem , and click OK . 이제 새 파일 버튼을 클릭, 모뎀을 선택하고 확인을 누릅니다.
  6. Change the Modem Device to /dev/ttyACM0. 하려면 모뎀 장치 변경 / dev/ttyACM0. If /dev/ttyACM0 is not available in the list, just type it in. Click OK . 만약 / dev/ttyACM0 목록에 입력하기만하면 그것을 안으로 사용할 수없습니다 확인을 클릭합니다.
  7. Now click the Devices tab. 이제 장치 탭을 클릭하십시오.

  8. click to enlarge 클릭하시면 확대됩니다


    click to enlarge 클릭하시면 확대됩니다

  9. Click the New button, select Modem connection, and click Forward . New 버튼을 클릭하여 선택합니다 모뎀 연결, 그리고 포워드를 누릅니다.

  10. click to enlarge 클릭하시면 확대됩니다

  11. All I needed to do to make my Rogers Wireless connection work was enter *99***1# as the Phone Number, user as the Login Name, and pass as the Password. 모두 내가 해야할일 내 로저스 무선 연결 작업 * *** 1 # 99를 입력하게 전화 번호, 사용자의 로그인 이름과 비밀 번호로 통과했다. I also chose to name this connection USB. 또한 이번의 USB 연결 이름을 선택했다. Click Forward . 포워드를 클릭하십시오.

  12. click to enlarge 클릭하시면 확대됩니다

  13. I left these options at their defaults. 난 그들의 기본값이 옵션을 떠났다. Click Forward . 포워드를 클릭하십시오.

  14. click to enlarge 클릭하시면 확대됩니다

  15. We’ve finished creating the connection. 우리가 그 연결을 만드는 끝냈습니다. Click Apply . 적용을 클릭합니다.

  16. click to enlarge 클릭하시면 확대됩니다

  17. Click the X in the top right corner to close this window. 오른쪽 상단 모서리에있는 X를 클릭하여이 창을 닫습니다.

  18. click to enlarge 클릭하시면 확대됩니다

  19. Click Yes to save the changes. 다음 예를 눌러 변경 내용을 저장합니다.
  20. Click OK . 확인을 클릭합니다. No, we won’t need to restart the computer. 아니, 우리는 컴퓨터를 다시 시작할 필요가없습니다.

  21. click to enlarge 클릭하시면 확대됩니다

  22. So, let’s use our newly created connection. 그래서, 우리가 새로 만든 연결을 사용하자. Click System -> Administration -> Network Device Control . 시스템을 누릅니다 -> 관리 -> 네트워크 장치를 제어합니다.
  23. Select the USB connection you just created and click Activate . 그냥 정품 인증을 누릅니다 만든 USB 연결을 선택합니다.

  24. click to enlarge 클릭하시면 확대됩니다

  25. Notice how the USB connection has changed from Inactive to Active . 통지 방법은 USB 연결이 비활성에서 Active으로 바뀌었습니다.

  26. click to enlarge 클릭하시면 확대됩니다

  27. Open Firefox and visit http://www.simplehelp.net. Firefox를 열고 방문 http://www.simplehelp.net.

  28. click to enlarge 클릭하시면 확대됩니다

  29. When you are finished online, go back to the Network Device Control window, select the Active USB connection and click Deactivate . 마쳤으면 온라인, 다시 네트워크 장치 제어 창, 액티브 USB 연결 동작을 선택하고 이동을 누릅니다.

  30. click to enlarge 클릭하시면 확대됩니다

  31. Verify that the USB connection is indeed Inactive , then close the Network Device Control window. 네트워크 장치 제어 창을 닫으는 USB 연결을 실제로 운영 중지되면, 그때 확인합니다.

  32. click to enlarge 클릭하시면 확대됩니다

Some of you may be wondering why I chose not to use Network Manager. 여러분 중 몇몇은 왜 내가 네트워크 관리자를 사용하지 않기로 궁금한 수있습니다. It’s quite simply due to the fact that mobile broadband support in Network Manager is in it’s infancy and I found it to be virtually unusable. 그것은 아주 간단하게 사실을 지원하는 모바일 광대역 네트워크 관리자에서 영아기에이고 나는 그것으로 인해 사실상 사용할 수 없게된다는 것을 발견. Once Network Manager’s mobile broadband support becomes better, I’ll rewrite this tutorial based on it. 일단 네트워크 관리자의 모바일 광대역을 지원 자체인, 나는 그것이 입문서를 기반으로 재작 성합니다.

Related Posts: 관련 게시물 :
  • How to tether your Nokia N95s Internet connection to your laptop via Bluetooth in Linux 어떻게 노트북에 블루투스를 통해 노키아는 리눅스에서 귀하의 인터넷 연결을 밧줄로 N95s
  • How to share the GPS in your N95 with your laptop via Bluetooth in Linux 어떻게 리눅스에서 블루투스를 통해 귀하의 노트북에서 귀하의 N95의 GPS를 공유하는
  • Use Adeona to help recover a lost or stolen laptop 를 사용하여 복구할 수 있도록 도와주는 Adeona 분실 또는 도난당한 노트북
  • Technology and Lifestyle 기술과 라이프 스타일
  • How to mount a remote filesystem in Ubuntu 우분투에서 어떻게 원격 파일 시스템을 마운트
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! 귀하의 이메일받은 편지로 매일 - 자유에 대한 간단한 도움말 튜토리얼이 하나처럼 들어가! Just enter your email address below: 바로 아래에 귀하의 이메일 주소를 입력 :

    You can always opt out of this email subscription at any time. 당신은 항상 언제든지이 이메일 구독의 선택을 취소할 수있습니다.


    Bookmark and Share 즐겨찾기 및 공유

    { 0 comments… (0 코멘트 ... add one now 지금 하나 추가 } )

    Leave a Comment 코멘트를 남겨주세요

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 HTML 태그와 특성 : title="">은 <a href="" 사용할 수있습니다 <abbr title=""> <acronym title="">의 <b> <blockquote cite=""> <cite>의 <code> <del datetime="">의 <em>가 <i> <q cite=""> <strike>의 <strong>