1 |
> Ouch; you're *NOT* going to connect the two |
2 |
> machines while logged on |
3 |
> via dialup, at least not without some fancy "route" |
4 |
> statements. If |
5 |
> anybody can give an example of how to do it, I'd |
6 |
> appreciate seeing it. |
7 |
> |
8 |
> > ------------K6-2.6.15---------------------- |
9 |
> > |
10 |
> > |
11 |
> > lumberton ~ # route -n |
12 |
> > Kernel IP routing table |
13 |
> > Destination Gateway Genmask |
14 |
> Flags Metric Ref Use Iface |
15 |
> > 192.168.0.0 0.0.0.0 255.255.255.0 U |
16 |
> 0 0 0 eth0 |
17 |
> > 127.0.0.0 127.0.0.1 255.0.0.0 UG |
18 |
> 0 0 0 lo |
19 |
> > |
20 |
> |
21 |
> Did you miss the last line when cutting+pasting or |
22 |
> or was that really |
23 |
> all? Try "grep gateway /etc/conf.d/net" on your |
24 |
> machines. Here's what I |
25 |
> get... |
26 |
> |
27 |
But, you never asked about ../net in your last post. |
28 |
|
29 |
> # For setting the default gateway |
30 |
> #gateway="eth0/192.168.0.1" |
31 |
> gateway="eth0/192.168.123.254" |
32 |
> |
33 |
> First, make sure that you are *NOT* connected via |
34 |
> dialup. |
35 |
> |
36 |
> On the K6, insert into /etc/conf.d/net the line |
37 |
> gateway="eth0/192.168.0.2" |
38 |
> and execute /etc/init.d/net.eth0 restart |
39 |
> |
40 |
> On the Sempron, insert into /etc/conf.d/net the |
41 |
> line |
42 |
> gateway="eth0/192.168.0.3" |
43 |
> and execute /etc/init.d/net.eth0 restart |
44 |
> |
45 |
> You should now be able to talk between the two |
46 |
> machines... but dialup |
47 |
> won't work. You may connect, but not get anywhere. |
48 |
> Here's what you |
49 |
> have to do on the Sempron... |
50 |
> |
51 |
> - *BEFORE* dialing up "ifconfig eth0 down"; you |
52 |
> can now dial up |
53 |
> |
54 |
> - *AFTER* logging off dialup, |
55 |
> "/etc/init.d/net.eth0 restart"; you can |
56 |
> now talk between the two computers |
57 |
|
58 |
Well, I did all that and still no joy. The part about |
59 |
not be able to connect to the net was true, though. |
60 |
|
61 |
I thought emerging ftpd would be my salvation but that |
62 |
doesn't work either. How do you start the bleeping |
63 |
thing. I even ran /usr/sbin/ftpd; it didn't gag but |
64 |
it didn't start either. And there's supposed to be a |
65 |
whole whack of files under /etc/. Nope. I found |
66 |
xinet.conf but don't have a clue on how to edit it. |
67 |
|
68 |
Then there's this. That 'disable' looks ominous. |
69 |
Should that be set to 'no'? What about 'protocol'? |
70 |
What should go there? |
71 |
|
72 |
heathen@sarawak ~ $ cat /etc/xinetd.d/ftp |
73 |
# default: off |
74 |
# $Header: |
75 |
/var/cvsroot/gentoo-x86/net-ftp/ftpd/files/ftp.xinetd,v |
76 |
1.2 2004/08/14 13:41:20 swegener Exp $ |
77 |
# description: The netkit ftp daemon with optional SSL |
78 |
support. |
79 |
|
80 |
service ftp |
81 |
{ |
82 |
socket_type = stream |
83 |
protocol = tcp |
84 |
wait = no |
85 |
user = root |
86 |
server = /usr/bin/ftpd |
87 |
disable = yes |
88 |
} |
89 |
|
90 |
|
91 |
> |
92 |
> If someone has a magic configuration that allows |
93 |
> eth0 and ppp0 to |
94 |
> co-exist, and function, simultaneously, please post |
95 |
> it. |
96 |
|
97 |
Amen. |
98 |
|
99 |
> |
100 |
> -- |
101 |
> Walter Dnes <waltdnes@××××××××.org> In linux |
102 |
> /sbin/init is Job #1 |
103 |
> My musings on technology and security at |
104 |
> http://tech_sec.blog.ca |
105 |
> -- |
106 |
> gentoo-user@g.o mailing list |
107 |
> |
108 |
> |
109 |
|
110 |
|
111 |
__________________________________________________ |
112 |
Do You Yahoo!? |
113 |
Tired of spam? Yahoo! Mail has the best spam protection around |
114 |
http://mail.yahoo.com |
115 |
-- |
116 |
gentoo-user@g.o mailing list |