免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1433 | 回复: 3
打印 上一主题 下一主题

笔记本GPRS无线上网问题,老大们指教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-04 23:23 |只看该作者 |倒序浏览
我的本本是IBM的T41
装了Fedora Core3
现在的问题就是:我是用GPRS无线上网,索爱的GPRS网卡,厂家没有LINUX的驱动,怎么办呢???
老大们请指教!!!
http://www.sonyericsson.com/spg.jsp?cc=cn&lc=zh&ver=4000&template=pp5_loader&php=php1_9944&zone=pp&lm=pp5_1&pid=9944
这是厂家型号的网址

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2004-12-04 23:52 |只看该作者

笔记本GPRS无线上网问题,老大们指教

http://kotinetti.suomi.net/mcfrisk/linux_gprs.html

希望对你有用. 俺有机会也试试.

论坛徽章:
0
3 [报告]
发表于 2004-12-05 00:26 |只看该作者

笔记本GPRS无线上网问题,老大们指教

网卡驱动已经搞到,就是不会安装了,英文差呀,老大们解释一下吧!请看:
Using the Sony-Ericsson / Anycom GC75 PCMCIA GPRS Card with Linux
=================================================================


The GC75 get recognized as a standard modem with a serial interface.
Installing it under Linux is a matter of setting up ppp correctly and
configuring the ppp chat scripts.
Furthermore the GC75's ppp stack returns an invalid remote address.
Subsequently the 'defaultroute' option does not work. To fix this the
default gateway will be set in the 'ip-up' script.

After inserting the card, use 'cardctl ident' to verify that the card
has been correctly installed.

# cardctl ident
Socket 0:
  product info: "Sony Ericsson", "GC75 PC Card", "ML2029"
  manfid: 0x0221, 0x2000
  function: 2 (serial)

If you encounter any problems at this stage, refer to the PCMCIA-Howto.

Next, use a terminal program like 'minicom' to find out which port the
card uses and to make sure you can talk to it using AT-commands. On my
system the port is /dev/ttyS2. Port settings should be 57600 8N1.

Once these steps have been completed, you can install the supplied
configuration files and chat scripts. It is assumed that you are reasonably
familiar with the Linux ppp daemon, if not please refer to 'man pppd' and
'man chat'. Here is what to do:

1) Install the GC75 configuration script:
   - copy the file 'gc75' to the 'peers' directory, typically that is
     /etc/ppp/peers
   - edit the file 'gc75' as desired. At a minimum you probably have to
     adjust the line '/dev/ttyS1' (enter your own port instead)
     You also need to enter the correct user name in the line that now says
     'user fido' and you may have to adjust the paths in the 'connect' and
     'disconnect' lines
     Enable the 'persist' option to keep the modem up even if the connection
     fails. Once everything runs stable, the 'debug' option can be disabled.

2) Install the Chat scripts
   - copy the files 'gc75chat' and 'gc75disc' to the chatscript directory. On
     my system that is /etc/chatscripts
   - in the 'gc75chat' file you have to replace the current APN
     ("internet.fido.ca" with the APN of your GPRS service provider.

3) Install the password file
   - copy the file 'pap-secrets' to the ppp directory (/etc/ppp on my machine)
   - change the user name and password accordingly. The supplied sample file
     was used to connect to the Microcell network using username 'fido' and
     password 'fido'

4) Install the ip-up and ip-down files in the /etc/ppp directory
   - as mentioned above, the 'defaultroute' option can not be used with the
     GC75 card since it returns an invalid remote address during PPP
     negotiation (127.0.0.2). Therefore the supplied 'ip-up' and 'ip-down'
     scripts will take care of this. However, on some systems 'ip-up' and
     'ip-down' files already exist in the /etc/ppp directory. In that case
     it may be better to not replace them with the files from this archive, but
     rather to add the part that sets up the default gateway to the existing
     files.

Going Online
============

Go Online by entering 'pppd call gc75'. After a while you can check whether you
are connected by entering 'ifconfig'.

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

ppp0      Link encapoint-to-Point Protocol
          inet addr:205.151.12.207  P-t-P:127.0.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:103 errors:0 dropped:0 overruns:0 frame:0
          TX packets:109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3

Check that the routing is set up correctly by entering 'route'.

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.2       *               255.255.255.255 UH    0      0        0 ppp0
default         205.151.12.207  0.0.0.0         UG    0      0        0 ppp0

The first entry in the routing table comes from the incorrectly assigned
remote address (127.0.0.2), but it doesn't hurt here. What's important is that
the default route is set to the same address as the ppp0 interface address.

Do a ping test to verify that the link is working and also that DNS name
resolution is working

# ping www.cisco.com
PING www.cisco.com (198.133.219.25): 56 data bytes
64 bytes from 198.133.219.25: icmp_seq=0 ttl=240 time=1096.6 ms
64 bytes from 198.133.219.25: icmp_seq=1 ttl=240 time=960.2 ms
64 bytes from 198.133.219.25: icmp_seq=2 ttl=240 time=1080.2 ms
64 bytes from 198.133.219.25: icmp_seq=3 ttl=240 time=980.2 ms

--- www.cisco.com ping statistics ---
5 packets transmitted, 4 packets received, 20% packet loss
round-trip min/avg/max = 960.2/1029.3/1096.6 ms

Congratulations - your GC75 is working!


Debugging
=========

If things don't work as desired, make sure the 'debug' option is turned on in
the 'gc75' file. Then check the system log for errors.


Written by Wolfgang Tolkien - no rights reserved, use at your own risk!

论坛徽章:
0
4 [报告]
发表于 2004-12-07 16:39 |只看该作者

笔记本GPRS无线上网问题,老大们指教

没办法,厚着脸皮顶一下吧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP