Sometimes you end up somewhere with your laptop where you just can’t find any open 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. انا سوف تظهر لك كيفية ربط الخاص بك إلى الكمبيوتر المحمول N95 عن طريق USB السريع وقذرة وقيادة خط الطريق ، فضلا عن واجهة المستخدم الرسومية أجمل طريقة. 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! وباستخدام بيانات الجيل الثالث 3G يمكن أن يؤدي مشروع قانون كبير جدا!
- You need have the ppp package and the wvdial package installed. أنت في حاجة لديها مجموعة تعادل القوة الشرائية و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). إذا كنت لا ، يمكنك ببساطة تشغيل ، والجذر في نافذة الصالة ، yum تركيب wvdial تعادل القوة الشرائية (أو استخدام مدير لالحزمة الخاصة بك لينكس distro).
- 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 . الهاتف عندما يطلب منك اختيار طريقة الصدد ، واختيار جناح الكمبيوتر الشخصي.
- 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 usb 4-2 : اختيار التشكيل # 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 usb 4-2 : مركز السيطرة على الأمراض توصيف سيئة
usb 4-2: bad CDC descriptors usb 4-2 : مركز السيطرة على الأمراض توصيف سيئة
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 usb 4-2 : المنتج : نوكيا N95 8GB
usb 4-2: Manufacturer: Nokia usb 4-2 : الصانع : نوكيا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 واجهة المستخدم الرسومية الإعداد below if you aren’t very comfortable with the command line. أدناه إذا لم تكن مرتاحة تماما مع خط القيادة.
- Edit /etc/wvdial.conf and make it look like this: تحرير / الخ / wvdial.conf وجعل الامر يبدو مثل هذا :
- 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. الرجاء الاتصال اللاسلكية التي تقدم لتصحيح التفاصيل.
- I also had to create a script called /etc/ppp/ip-up.local to make the automatic DNS configuration work. أنا أيضا كان لإنشاء البرنامج النصي دعا / الخ / تعادل القوة الشرائية / up.local الملكية الفكرية لجعل التشكيل التلقائي لنظام أسماء النطاقات العمل. Here’s my ip-up.local: ها هي بلادي الملكية الفكرية up.local :
- 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}%~ ~ [7f]}#@!}!}))}#}$@#}!}$}٪ 2 \}"}&} *)))) ٪ ز ~
–> Carrier detected. --> اكتشاف ناقل. Starting PPP immediately. وابتداء من تعادل القوة الشرائية على الفور.
–> Starting pppd at Sun Oct 19 16:48:56 2008 --> pppd في الشمس وابتداء من تشرين الاول / اكتوبر 19 16:48:56 2008
–> Pid of pppd: 8028 --> Pid من pppd : 8028
–> Using interface ppp0 --> استخدام واجهة ppp0
–> local IP address 172.28.53.106 --> الملكية الفكرية المحلية معالجة 172.28.53.106
–> remote IP address 10.6.6.6 --> النائية الملكية الفكرية معالجة 10.6.6.6
–> primary DNS address 207.181.101.4 --> الابتدائي دياناس معالجة 207.181.101.4
–> secondary DNS address 207.181.101.5 --> الثانوي دياناس معالجة 207.181.101.5 - 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 - جيم.
- 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 addr : 127.0.0.1 قناع : 255.0.0.0
inet6 addr: ::1/128 Scope:Host inet6 addr : : : 1 / 128 النطاق : المضيف
UP LOOPBACK RUNNING MTU:16436 Metric:1 ارتفاع خط الإرجاع RUNNING يو : 16436 مترى : 1
RX packets:12767 errors:0 dropped:0 overruns:0 frame:0 آر إكس عبوات : 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) آر إكس بايت : 714652 (697.9 مصرف كوردستان الدولي (تكساس بايت : 714652 (697.9 مصرف كوردستان الدولي)ppp0 Link encap:Point-to-Point Protocol ppp0 لينك encap : من نقطة إلى نقطة بروتوكول
inet addr:172.28.53.106 PtP:10.6.6.6 Mask:255.255.255.255 inet addr : 172.28.53.106 وقامت المنظمة : 10.6.6.6 قناع : 255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 ارتفاع POINTOPOINT RUNNING NOARP يو المضيف : 1500 مترى : 1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0 آر إكس عبوات : 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) آر إكس بايت : 64 (64.0 ب) تكساس بايت : 94 (94.0 ب)[root@radon ~]# ping simplehelp.net [@ الجذر الرادون ~] # بينغ simplehelp.net
PING simplehelp.net (74.52.95.42) 56(84) bytes of data. 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 64 بايت من 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq وقت إبقاء الاتصال = 1 = 46 مرة = 110 مللي ثانية
64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=2 ttl=46 time=102 ms 64 بايت من 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq وقت إبقاء الاتصال = 2 = 46 مرة = 102 مللي ثانية
64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=3 ttl=46 time=164 ms 64 بايت من 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq وقت إبقاء الاتصال = 3 = 46 مرة = 164 مللي ثانية
64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=4 ttl=46 time=130 ms 64 بايت من 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq وقت إبقاء الاتصال 4 = = = 46 مرة 130 مللي ثانية
64 bytes from 2a.5f.344a.static.theplanet.com (74.52.95.42): icmp_seq=5 ttl=46 time=149 ms 64 بايت من 2a.5f.344a.static.theplanet.com (74.52.95.42) : icmp_seq وقت إبقاء الاتصال 5 = = = 46 مرة 149 مللي ثانية
^C ^ جيم
— simplehelp.net ping statistics — -- simplehelp.net بينغ الإحصاءات --
5 packets transmitted, 5 received, 0% packet loss, time 4513ms 5 علب المحالة ، وتلقى 5 ، 0 ٪ علبة خسارة ، مرة 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 - Once you are finished online, don’t forget to switch back to the terminal where you ran wvdial and press Ctrl-C. وبمجرد الانتهاء من انك على الإنترنت ، لا ننسى ليعود مرة أخرى الى الصالة حيث كنت تدير wvdial والصحافة Ctrl - جيم.
^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 --> Disconnecting في صن أكتوبر 19 18:24:32 2008
Modem = /dev/ttyACM0 مودم = / dev/ttyACM0
Baud = 460800 الباود = 460800
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
#!/bin/bash #! / بن / سحق
#PATH=/sbin:/usr/sbin:/bin:/usr/bin باث = / sbin : / usr / sbin : / بن ل: / usr / بن
export PATH تصدير باث
echo “# created by pppd” > /etc/resolv.conf صدى "# التي أنشأتها pppd"> / الخ / resolv.conf
echo “nameserver ${DNS1}” >> /etc/resolv.conf صدى "nameserver $ (DNS1)">> / الخ / resolv.conf
echo “nameserver ${DNS2}” >> /etc/resolv.conf صدى "nameserver $ (DNS2)">> / الخ / resolv.conf
chmod go+r /etc/resolv.conf الذهاب chmod + ص / الخ / resolv.conf
Don’t forget to chmod 755 /etc/ppp/ip-up.local لا ننسى لchmod 755 / الخ / تعادل القوة الشرائية / الملكية الفكرية up.local
GUI Method طريقة واجهة المستخدم الرسومية
Now, if all that command line stuff scares you, here’s how to make it work using Gnome’s GUI: الآن ، لو أن كل سطر الأوامر الاشياء يخيف لكم ، وإليك كيفية العمل لجعلها 'sغنوم باستخدام واجهة المستخدم الرسومية :
- Click System -> Administration -> Network انقر فوق نظام --> الادارة --> الشبكة
- You will be asked to enter your root password. سوف يطلب منك إدخال كلمة السر الخاصة بك الجذر. Enter it and click OK . دخول وانقر فوق موافق.
- Now you can see a list of installed network devices. الآن يمكنك أن ترى قائمة من تركيب شبكة من الأجهزة. Click on the Hardware tab. انقر على علامة التبويب الأجهزة.
- Now click the New button, select Modem , and click OK . الآن انقر على زر الجديدة ، اختر المودم ، وانقر فوق موافق.
- 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 ليست متاحة في القائمة ، مجرد أنها فيها نوع انقر فوق موافق.
- Now click the Devices tab. الآن انقر فوق علامة التبويب الأجهزة.
- Click the New button, select Modem connection, and click Forward . انقر على زر الجديدة ، واختيار المودم الصدد ، وانقر فوق التالي.
- 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. كل ما كنت بحاجة إلى القيام به لجعل بلدي روجرز اتصال لاسلكي كان دخول العمل * 99 *** 1 # حيث رقم الهاتف ، كما أدخل المستخدم الاسم ، وتمرير حيث كلمة السر. I also chose to name this connection USB. وأود أيضا أن اختار اسم هذا الصدد USB. Click Forward . انقر فوق التالي.
- I left these options at their defaults. لقد تركت هذه الخيارات عند التخلف عن الدفع. Click Forward . انقر فوق التالي.
- We’ve finished creating the connection. لقد انتهت تهيئة الصدد. Click Apply . انقر على تطبيق.
- Click the X in the top right corner to close this window. انقر فوق العاشر في أعلى الزاوية اليمنى لإغلاق هذه النافذة.
- Click Yes to save the changes. انقر فوق نعم لانقاذ التغييرات.
- Click OK . انقر فوق موافق. No, we won’t need to restart the computer. لا ، نحن لن تحتاج إلى إعادة تشغيل جهاز الكمبيوتر.
- So, let’s use our newly created connection. لذا ، اسمحوا لنا استخدام المنشأة حديثا الصدد. Click System -> Administration -> Network Device Control . انقر فوق نظام --> الادارة --> شبكة التحكم بالأجهزة.
- Select the USB connection you just created and click Activate . اختر USB الصدد خلق لكم فقط وانقر فوق تنشيط.
- Notice how the USB connection has changed from Inactive to Active . لاحظ كيف USB الصدد قد تحولت من نشطة إلى غير نشطة.
- Open Firefox and visit http://www.simplehelp.net. فتح فايرفوكس وزيارة http://www.simplehelp.net.
- When you are finished online, go back to the Network Device Control window, select the Active USB connection and click Deactivate . عندما تنتهي من الإنترنت ، للعودة إلى جهاز مراقبة شبكة نافذة ، اختر النشطة USB الصدد وانقر فوق إلغاء تنشيط.
- Verify that the USB connection is indeed Inactive , then close the Network Device Control window. تحقق من أن USB الصدد هو في الواقع غير نشطة ، ثم يغلق جهاز مراقبة شبكة نافذة.



click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة



click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة


click to enlarge اضغط هنا لتكبير الصورة


click to enlarge اضغط هنا لتكبير الصورة


click to enlarge اضغط هنا لتكبير الصورة

click to enlarge اضغط هنا لتكبير الصورة

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. مرة واحدة ومدير الشبكة ذات النطاق العريض للهاتف المحمول ويصبح دعم أفضل ، سوف تعيد كتابة هذا البرنامج التعليمي على أساس ذلك.


![[سبورل]](/images/sharing/stumbleupon.png)




















{ 0 comments… (0 التعليقات... add one now إضافة واحد الآن } )
Leave a Comment ترك التعليق