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 Bluetooth adapter. ومن حسن الحظ ان لديك نوكيا N95 ومحول بلوتوث. I’m going to show you how to tether your N95 to your laptop via Bluetooth the quick and dirty command line way, as well as the prettier GUI way. انا سوف تظهر لك كيفية ربط الخاص بك 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! وباستخدام بيانات الجيل الثالث 3G يمكن أن يؤدي مشروع قانون كبير جدا!
- The first thing you need to do is make sure your N95 is paired with your laptop. أول شيء عليك القيام به هو التأكد من حسابك N95 هو إرفاقها مع الكمبيوتر المحمول. This is far easier than I expected. وهذا هو الأسهل بكثير مما كنت أتوقع. As long as you have the gnome-bluetooth package installed, it’s as simple as initiating the pairing from your phone and entering the same passkey on both the phone and the computer when prompted. ما دام لديك جنوم - تركيب مجموعة بلوتوث ، انه امر بسيط جدا الشروع في الإقران من هاتفك والدخول على نفس مفتاح كل من الهاتف وجهاز الكمبيوتر عندما دفعت. You also need to 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 whatever package manager comes w/ your Linux distro). إذا كنت لا ، يمكنك ببساطة تشغيل ، والجذر في نافذة الصالة ، yum تركيب wvdial تعادل القوة الشرائية (أو استخدام ما يأتي مدير مجموعة ث / خادم لينكس distro).
- Now that both devices are paired, open a terminal window and run hcitool scan to discover your phones Bluetooth MAC address. الآن أن كلا من الأجهزة أزواج ، وفتح النافذة وتشغيل محطة hcitool المسح الضوئي الخاص بك لاكتشاف هواتف بلوتوث التصدي لجنة الهدنة العسكرية. This section applies to both the command line and GUI parts of this tutorial. تنطبق هذه المادة على كل من سطر الأوامر واجهة المستخدم الرسومية أجزاء من هذا البرنامج التعليمي.
[user@radon ~]$ hcitool scan [مستخدم الرادون ~ @] دولار hcitool المسح الضوئي
Scanning … مسح...
00:22:66:9F:83:37 N95 00:22:66:9 واو : 83:37 N95 - Next we use sdptool to find out the channel for the Dial-Up Networking service. نحن استخدام sdptool المقبل لمعرفة ما قامت به قناة لشبكة الطلب الهاتفي الخدمة.
[user@radon ~]$ sdptool browse 00:22:66:9F:83:37 [مستخدم الرادون ~ @] التصفح 00:22:66:9 دولار sdptool واو : 83:37
Browsing 00:22:66:9F:83:37 … تصفح 00:22:66:9 واو : 83:37...
Service Name: Dial-Up Networking اسم الخدمة : شبكة الطلب الهاتفي
Service RecHandle: 0×1004a خدمة RecHandle : 0 × 1004a
Service Class ID List: معرف الفئة قائمة الخدمة :
“Dialup Networking” (0×1103) "التواصل الهاتفي" (0 × 1103)
Protocol Descriptor List: البروتوكول قائمة واصف :
“L2CAP” (0×0100) "L2CAP" (0 × 0100)
“RFCOMM” (0×0003) "RFCOMM" (0 × 0003)
Channel: 2 قناة : 2
Language Base Attr List: لغة قاعدة Attr قائمة :
code_ISO639: 0×454e code_ISO639 : 0 × 454e
encoding: 0×6a ترميز : 0 × 6A
base_offset: 0×100 base_offset : 0 × 100
Profile Descriptor List: نبذة عن قائمة واصف :
“Dialup Networking” (0×1103) "التواصل الهاتفي" (0 × 1103)
Version: 0×0100 النسخة : 0 × 0100 - There will probably be a few screens of output. ومن المحتمل أن يكون هناك عدد قليل من الشاشات من انتاج. I have only included the relevant part in the above example. لقد شملت فقط الجزء ذي الصلة في المثال السابق. Note that the Dial-Up Networking service is on channel 2 . علما أن شبكة الطلب الهاتفي الخدمة على قناة 2.
- Using your favorite text editor, as root, edit /etc/bluetooth/rfcomm.conf and make it look like the following, substituting your phones MAC address and channel number. باستخدام المفضلة لديك محرر نصوص ، والجذر ، تحرير / الخ / بلوتوث / rfcomm.conf وجعل الامر يبدو مثل التالية ، والاستعاضة عن الهواتف الخاصة بك لجنة الهدنة العسكرية ومعالجة عدد قناة.
- Save your rfcomm.conf and exit your text editor. احفظ rfcomm.conf وخروج محرر النص الخاص بك.
- As root, restart the bluetooth service: كما الجذر ، بلوتوث استئناف الخدمة :
[root@radon ~]# service Bluetooth restart [@ الجذر الرادون ~] # استئناف الخدمة بلوتوث
Stopping Bluetooth services: [ OK ] وقف بلوتوث الخدمات : [؟]
Starting Bluetooth services: [ OK ] بلوتوث ابتداء من الخدمات : [؟] - We have now created a Bluetooth serial port at /dev/rfcomm0 that will be persistent through reboots. لدينا الآن خلق بلوتوث المسلسل في ميناء / dev/rfcomm0 التي ستكون من خلال استمرار يعيد الإقلاع. This is the port you will use as a “modem” during the rest of the configuration. وهذا هو ميناء تستخدموا بأنه "مودم" خلال الفترة المتبقية من التشكيل.
#
# RFCOMM configuration file. # RFCOMM ملفات.
#rfcomm0 { rfcomm0 (
bind yes; تربط نعم ؛
device 00:22:66:9F:83:37; جهاز 00:22:66:9 واو : 83:37 ؛
channel 2; قناة 2 ؛
} )
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. لا تتردد في القفز الى واجهة المستخدم الرسومية الإعداد أدناه إذا لم تكن مرتاحة تماما مع خط القيادة.
Command Line Method طريقة قيادة خط
GUI Method طريقة واجهة المستخدم الرسومية
Command Line Method طريقة قيادة خط
- 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 Bluetooth [@ الجذر الرادون ~] # wvdial بلوتوث
–> 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 5.8 minutes. --> كونيكت الوقت 5.8 دقيقة.
–> Disconnecting at Sun Oct 19 16:54:48 2008 --> Disconnecting في صن أكتوبر 19 16:54:48 2008
Modem = /dev/rfcomm0 مودم = / dev/rfcomm0
Baud = 460800 الباود = 460800
SetVolume = 0 SetVolume = 0
Dial Command = ATDT اطلب قيادة = ATDT
Init1 = ATZ Init1 = ATZ
Init3 = ATM0 Init3 = ATM0
FlowControl = CRTSCTS FlowControl = CRTSCTS[Dialer Bluetooth] [بلوتوث المسجل]
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/rfcomm0. تغيير جهاز المودم ل/ dev/rfcomm0. If /dev/rfcomm0 is not available in the list, just type it in. Click OK . وإذا كان / dev/rfcomm0 ليست متاحة في القائمة ، مجرد أنها فيها نوع انقر فوق موافق.
- 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 Bluetooth. وأود أيضا أن اختار اسم هذا الصدد بلوتوث. 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 Bluetooth connection you just created and click Activate . اختر بلوتوث الصدد خلق لكم فقط وانقر فوق تنشيط.
- Notice how the Bluetooth connection has changed from Inactive to Active . إشعار كيفية بلوتوث الصدد قد تحولت من نشطة إلى غير نشطة.
- 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 Bluetooth connection and click Deactivate . عندما تنتهي من الإنترنت ، للعودة إلى جهاز مراقبة شبكة نافذة ، اختر النشطة بلوتوث الصدد وانقر فوق إلغاء تنشيط.
- Verify that the Bluetooth connection is indeed Inactive, then close the Network Device Control window. تحقق من أن البلوتوث الصدد هو في الواقع غير نشطة ، ثم يغلق جهاز مراقبة شبكة نافذة.
- 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. مرة واحدة ومدير الشبكة ذات النطاق العريض للهاتف المحمول ويصبح دعم أفضل ، سوف تعيد كتابة هذا البرنامج التعليمي على أساس ذلك.



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 اضغط هنا لتكبير الصورة

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




















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