Anyone using "linux universe" to establish TCP/IP connection?

Anyone using "linux universe" to establish TCP/IP connection?

Post by Will Ralp » Mon, 09 Dec 1996 04:00:00



Greetings ;-)
        I am currently using a linux package which came with "linux universe".
 I purchased it based on it's documentation, but was frustrated to discover
that the documentation does not contain a step-by-step TCP/IP setup
instructions.  I have refered to numerous public-domain documentations on
setting up PPP connections, and have tried using both pppd and DIP.  
        When using pppd, I dial in using minox, exit, and type "pppd -d
-(forget) /dev/modem &".. which results in two errors.. not connected to TTY..
and while my modem is still connected, pinging fails.
        When using DIP, I have configured the script to go through the entire
dial in, but once done, pinging does not work.

        If anyone has, or is familiar with the linux universe software, and
are willing to e-mail me the configurations which you have used to sucessfuly
connect, or tell me which files I need to effect, and what I need to do to
them, I'd greatly appreciate it.  (If you e-mail me configuratioins, be sure
to remove passwords ;-)

                                                        Greatly appreciated,
                                                                Will Ralphs.

BTW, do any of you know how to configure a copy and paste command for a IBM?  
(like <CTRL-C> and <CTRL-V> in windows).
                                                        Thanks,
                                                                Will

 
 
 

1. Problem using "connect" to establish TCP client connection

Hello. I've having an odd problem establishing a TCP connection on my
Linux machine. Basically, I'm trying to connect to my own machine
through the loopback mechanism, but am getting a "Network Unreachable"
error every time I call the socket connect routine. I find this
strange because (1) this same code works on a Sun Solaris machine and
(2) I am able to telnet and ftp to myself just fine.

Here's the code I'm using to connect:

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

  bzero ( (char *) &server_address, sizeof(server_address));

  server_address.sin_family             = AF_INET;
  server_address.sin_addr.s_addr        = htonl(addrr);
  server_address.sin_port               = htons(port);
  servlen                               = sizeof(server_address);

  if ( (sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
      perror ("Error opening client socket!");
      return(-1);
  }

  connect(sockfd, (struct sockaddr *) &server_address, servlen));

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

Pretty standard stuff. "addr" is "127.0.0.1" converted to a long;
"port" is just a short int, value 7682.

I think my routing table is set up correctly. Output of route cmd is:

Kernel routing table
Destination   Gateway  Genmask    Flags MSS   Window Use Iface
localnet      *        255.0.0.0  U     3584  0      1   lo

Output of ifconfig is:

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:28 errors:0 dropped:0 overruns:0
        TX packets:28 errors:0 dropped:0 overruns:0

Does anyone have any idea what might be going on?

Thanks in advance.

Ramsey

2. network printer

3. "Novell-like","non-TCP/IP","networking" OS to place Unix

4. Ginger virus on an ext2 filesystem ??

5. can′t establish PPP connection: "Unauthorized remote IP address"

6. cannot set tty to ppp discipline on 2.5.59

7. GETSERVBYNAME()????????????????????"""""""""""""

8. DIP with PPP support?

9. ??: TCP/IP High "colls" and "errs" Counts???

10. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

11. ANNOUNCE: TCP/IP Connection cutter - "cutter" 1.00

12. Using "if" in "ksh" to change "for loop" values....

13. TCP/IP Setup using "netconfig"