新手报道,及手机共享电脑网络问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
i185990800
帖子: 2
注册时间: 2010-09-06 11:00

新手报道,及手机共享电脑网络问题

#1

帖子 i185990800 » 2010-09-06 11:08

声明,我是新手
求助NOKIA6120C手机共享电脑网络问题,在WIN下,方法比容易,在这Ubuntu下,一头雾水,求解
硬件,电脑一台,可上网,蓝牙配适器,手机,如何共享电脑网络,请各位高手详细解说谢谢
i185990800
帖子: 2
注册时间: 2010-09-06 11:00

Re: 新手报道,及手机共享电脑网络问题

#2

帖子 i185990800 » 2010-09-06 16:01

s60v3共享ubuntu网络来上网…

下面的英文解说看不懂,就高手解说:

你是不是非常讨厌移动联通的gprs天价资费呢?你是不是希望手机可以免费上网呢?你是不是有的时候和家人争电脑呢?那么你就非常需要读完此文了…开始吧!P.S.我只是翻译的…嘿嘿

电脑首先安装bluez-gnome
aptitude install bluez-gnome

确定电脑上面是不是有出来蓝牙图标,没有就说明你蓝牙没有弄好,假如是USB的,看看插好了没…或者也有可能是别的原因!
手机端打开蓝牙……搜索蓝牙…选择你的电脑…进行配对!
Setup your phone:

Backup your phone!
I m a noob and can’t fix your phone if anything goes wrong
Install gnubox for Series 60 v3 or other Symbians(if you have a s60v3 phone, you will have to sign the sis file. just follow the instruction on the download page, 5th reply)
Run gnubox, Options > Debug > Dump Full CommsDB, this dump the network configuration, in case any thing goes wrong
Create an Access point, goto Tools > Settings > Connection > Accesspoints
Name it “Bt” (case sensitive), set Data Bearer to “data call” and dial-up number to some random number
Run gnubox again, Options > Install > Create records
Restart gnubox, Options > Install > set RAS login script
Restart gnubox, Options > 2box Bluetooth > LAN Access server, select your computer, no encryption if it ask
Setup your ubuntu

put the following into /etc/ppp/peers/dun
Code:
115200
noauth
192.168.11.30:192.168.11.40 (make sure these address doesn't crash with other on your network)
crtscts
ms-dns <your dns server>
lock

execute the following as root, to setup network forwarding, otherwise you can only access LAN from the phone
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward

Code:
iptables -t nat -A POSTROUTING -s 192.168.11.0/24 -j MASQUERADE

Code:
dund --msdun --listen call dun

DONE! grab your phone, fire up the Web app. and enjoy!

References

http://gnubox.dnsalias.org/gnubox/
http://mikie.iki.fi/symbian/bt-ap.html
Added iptables line so that it would work for people who aren’t connected to NAT routers

Source: http://ubuntuforums.org/showthread.php?t=471441
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

Re: 新手报道,及手机共享电脑网络问题

#3

帖子 leeaman » 2010-09-06 16:06

实在没兴趣折腾这个东西 :em01
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
回复