Connect via LAN vs. Connect via modem headache

Connect via LAN vs. Connect via modem headache

Post by Mik » Fri, 20 Aug 1999 04:00:00



Setup:

-------------------------------

486DX33 - 8M RAM
Caldera OpenLinux 1.3 (2.0.35)
Apache 1.3.6
Samba 1.9.18p8
PHP 3.0.11
MySQL 3.22.25
no modem

ifconfig output:
lo      Link encap: Local Loopback
                inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
                UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
                RX packets:98 errors:0 dropped:0 overruns:0
                TX packets:98 errors:0 dropped:0 overruns:0

eth0            Link encap:Ethernet  HWaddr 52:54:4C:1D:01:B8
                inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:455 errors:0 dropped:0 overruns:0
                TX packets:675 errors:0 dropped:0 overruns:0
                Interrupt:3 Base address:0x300

/etc/hosts contains:

127.0.0.1 localhost
192.168.1.1 server.bigmweb server
192.168.1.2 MGRIER win98

-------------------------------

AMD K6-2 300Mhz - 64M RAM
Windows 98
56K Modem

Winipconfig output:

Host Information
        Host Name: server
        DNS Servers: 192.168.1.1
        Node Type: Broadcast
        NetBIOS Scope Id: (blank)
        IP Routing Enabled: no
        WINS Proxy Enabled: no
        NetBIOS Resolution Uses DNS: yes

Ethernet Adapter Information:

        Realtek RTL8139 PCI Fast Ethernet

        Adapter Address: 00-C0-CA-13-98-CE
        IP Address: 192.168.1.2
        Subnet Mask: 255.255.255.0
        Default Gateway: 192.168.1.1
        DHCP Server: (blank)
        Primary WINS Server: (blank)
        Secondary WINS Server: (blank)
        Lease Obtained: (blank)
        Lease Expires: (blank)

        PPP Adapter

        Adapter Address: 44-45-53-54-00-00
        IP Address: 0.0.0.0
        Subnet Mask: 0.0.0.0
        Default Gateway: (blank)
        DHCP Server: 255.255.255.255
        Primary WINS Server: (blank)
        Secondary WINS Server: (blank)
        Lease Obtained: (blank)
        Lease Expires: (blank)

        PPP Adapter

        Adapter Address: 44-45-53-54-00-01
        IP Address: 0.0.0.0
        Subnet Mask: 0.0.0.0
        Default Gateway: (blank)
        DHCP Server: 255.255.255.255
        Primary WINS Server: (blank)
        Secondary WINS Server: (blank)
        Lease Obtained: (blank)
        Lease Expires: (blank)

c:\windows\hosts contains:

127.0.0.1       localhost
192.168.1.2     mgrier
192.168.1.1     server

-------------------------------

I am running a home network (peer-to-peer) so that I can test my web
programming locally without having to tie up my phone line all the time.

But it's not working the way I would like.

1. In order to access the content on the Linux box without having
   to dial up using the modem, I have to "Connect via LAN" in Windows -
   Internet Options. But then I cannot dial out to the internet
   when needed.

   If it is set to "Connect via modem", it will access the Linux
   content only after dialing the modem.

   I would like it to only dial if going to the outside world (and I
   would like to stop having to switch back and forth to do so).

   I would like to leave the modem where it is in the Windows box if
   at all possible, but if the behavior I want cannot be configured
   this way, I will move it to the Linux box.

2. I can only edit files on the Linux box from the Windows box if I
   have set their permissions to 777 first on the Linux box. I would
   like to be able to edit them without having to do this first (or
   could set the permissions from Windows).

Thanks for reading. If more info is needed, I will try to find out. I
didn't know what to include.

Mike

 
 
 

Connect via LAN vs. Connect via modem headache

Post by Mik » Fri, 20 Aug 1999 04:00:00


Forgot to include the contents of my smb.conf:

[global]

workgroup = WORKGROUP
security = user
interfaces = 192.168.1.1/255.255.255.0
domain master = yes
domain logons = yes

 
 
 

Connect via LAN vs. Connect via modem headache

Post by Bill Pit » Sat, 21 Aug 1999 04:00:00



Quote:>    If it is set to "Connect via modem", it will access the Linux
>    content only after dialing the modem.

This is not really a Linux problem....  It's a shortcoming in Windows.
The Win95/Win98 Internet Control Panel & Autodial settings suck to put
it simply.  The best way is to remove them and disable the autodial and
just dial up to the internet when you need to by hand...

-Bill

 
 
 

1. connecting LAN to Internet via 1 or several modems

My internet provider has given me a phone number and a static IP address
which I use to temporarily connect one Windows 95 machine or one Linux
machine to the Internet. I would like to connect all the machines of our
LAN to the Internet through one or several modems plugged to the Linux
machine which act as a gateway. My Internet provider can give me
Internet addresses for each of the machines on the LAN so I won't use IP
masquerade. I would like to know how can my Linux machine automaticaly
dial the modem when datagrams from the LAN are sent outside and how this
Linux machine can hang up after no datagrams have been seen for a
certain amount of time.

Thank you very much in advance for the answer which will help me a lot

Laurent VILLEPIGUE
SYNTEL
France

2. ScoTerm - foreground text default color?

3. Printing via IBM AIX to a Vt320 attached printer,thats connected via a Cisco 2512

4. Thread/socket question/problem

5. connecting two with X-server via modem (Linux X <-modem-> Sun X)

6. Apache 1.3.14 and Jserv 1.1.2 on AIX 4.3.3 PROBLEM

7. 3com Office Connect LAN Modem::trouble connecting

8. Need an expert for info on troubleshooting Linux

9. 2 lans, connected via PPP link... slow though

10. getting Lan connected via ppp thru ethernet

11. connect to Internet via LAN

12. Connecting my x86 thing via LAN to sparc

13. Connecting LANs via Addtron AWS-100 wireless access points