1 |
I don't know whether this is off or on topic, but I noticed that my |
2 |
modem was assigned to a different ttySX w/ 2.6.16. I ran wvdialconf |
3 |
again, which identified the new /dev/ name, and it has worked |
4 |
flawlessly since. 2.6.X kernels have given me, at least, fits over |
5 |
/dev/ttySX. The /dev/ttyS device nodes are attached to /dev/tts/X . |
6 |
|
7 |
I don't know whether any of this is valid for anyone else or not. |
8 |
Perhaps it's something idiosyncratic about my setup. |
9 |
|
10 |
Alan |
11 |
|
12 |
On 4/21/06, Farhan Ahmed <farhanahmed06@×××××.com> wrote: |
13 |
> maxim wexler wrote: |
14 |
> > Hello everybody, |
15 |
> > |
16 |
> > When I try to dialup the 'net on a fresh 2.6.16 |
17 |
> > install I get: |
18 |
> > |
19 |
> > #pon <isp> |
20 |
> > /usr/sbin/pppd: In file /etc/peers/hd: unrecognized |
21 |
> > option '/dev/ttyS0' |
22 |
> > |
23 |
> > Sure enough, there's no such file, just /dev/tty, 0, 1 |
24 |
> > ... On my 2.6.12 and 2.6.15 boxen /dev/ttyS0 is a |
25 |
> > sym-link to tts/0 and I can dial out no problem. On |
26 |
> > the 2.6.16 box ls /dev/tty* just reveals a numerical, |
27 |
> > unlinked list. /dev/ttyS* no longer exists. |
28 |
> |
29 |
> Hi, |
30 |
> I suppose you've connected your modem to a serial port (COMx |
31 |
> under windows, /dev/ttySx under linux). /dev/ttyx is a terminal, i dont |
32 |
> think modem is that device. Why dont you create a sym-link /dev/ttySx |
33 |
> to /dev/tts/x? |
34 |
> |
35 |
> > |
36 |
> > Here's what pppconfig wrote(identical on all my PCs): |
37 |
> > |
38 |
> > sarawak heathen # cat /etc/ppp/peers/hd |
39 |
> > # This optionfile was generated by pppconfig 2.3.10. |
40 |
> > # |
41 |
> > # |
42 |
> > hide-password |
43 |
> > noauth |
44 |
> > connect "/usr/sbin/chat -v -f /etc/chatscripts/hd" |
45 |
> > debug |
46 |
> > /dev/ttyS0 |
47 |
> > 115200 |
48 |
> > defaultroute |
49 |
> > noipdefault |
50 |
> > user "entbloc1@×××××××.com" |
51 |
> > remotename hd |
52 |
> > ipparam hd |
53 |
> |
54 |
> Well learn to substitue a nonsence id for your real id (something like |
55 |
> xyz will do) when posting your config's. |
56 |
> |
57 |
> > |
58 |
> > As it stands now I can dial out from the 2.6.16 box |
59 |
> > only if I boot the install-cd and copy over from |
60 |
> > another drive my ppp config files and use the pppd |
61 |
> > that comes with the install-cd. And *it* uses |
62 |
> > /dev/ttyS0. If I try to go with /dev/tty or /dev/tty0 |
63 |
> > on the fresh install without benefit of install-cd, |
64 |
> > nothing happens -- no error on the console or the |
65 |
> > logs, no dialtone, nothing. |
66 |
> |
67 |
> Again /dev/ttyx is a terminal, u can check that by doing |
68 |
> 'echo "hi" >> /dev/tty1' |
69 |
> as root. You'll see 'hi' being printed in tty1. A dialup modem usually |
70 |
> connects to the serial port (i.e., /dev/ttyS0). If this device does not |
71 |
> exist create a symlink to tts/0. |
72 |
> |
73 |
> > |
74 |
> > Yes, I did mknod /dev/ppp c 108 0 |
75 |
> > |
76 |
> > and here's lsmod copied over from the 2.6.16 box. |
77 |
> > |
78 |
> > heathen@sarawak ~ $ cat /floppy/lsmod |
79 |
> > Module Size Used by |
80 |
> > ppp_async 11840 0 |
81 |
> > crc_ccitt 1952 1 ppp_async |
82 |
> > ppp_deflate 6176 0 |
83 |
> > zlib_deflate 21528 1 ppp_deflate |
84 |
> > zlib_inflate 17440 1 ppp_deflate |
85 |
> > bsd_comp 5952 0 |
86 |
> > ppp_generic 26484 3 |
87 |
> > ppp_async,ppp_deflate,bsd_comp |
88 |
> > slhc 6912 1 ppp_generic |
89 |
> > rtc 14452 0 |
90 |
> > usbcore 148804 1 |
91 |
> > unix 29712 4 |
92 |
> > |
93 |
> > I'm using ppp-2.4.3-r14. When I emerged it I was told |
94 |
> > that I must |
95 |
> > |
96 |
> > emerge -u '>=sys-apps/baselayout-1.12.0_pre11' |
97 |
> > |
98 |
> > as well as add bsd_comp and ppp_deflate to my kernel |
99 |
> > config. Both of which I did. |
100 |
> |
101 |
> Have you compiled serial port support in your new kernel? |
102 |
> |
103 |
> Hope this helps, |
104 |
> Farhan Ahmed |
105 |
> |
106 |
> -- |
107 |
> Place : Bangalore, Karnataka, India |
108 |
> GPG Key : 8BE90E98 |
109 |
> WengoPhone ID : farhanahmed |
110 |
> IRC Nick : farhanahmed / farhanahmed06 (irc.freenode.net) |
111 |
> |
112 |
> |
113 |
> |
114 |
|
115 |
-- |
116 |
gentoo-user@g.o mailing list |