Sponsored Content
Top Forums UNIX for Advanced & Expert Users Ways to quickly check if you are connected to the internet while on an internal network Post 302680243 by cokedude on Wednesday 1st of August 2012 01:52:20 PM
Old 08-01-2012
Ways to quickly check if you are connected to the internet while on an internal network

I need some help thinking of ways to quickly check if I am connected to the internet while on an internal network. I never lose connection to the internal network but for some annoying reason I lose the internet quite often. I don't get any errors or warnings. I usually find out that I have lost my internet connection when my youtube playlist stops playing. I'm sure there is a way to quickly do this.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

internal network chat

anyone help me get a perl script or c++ that will let me talk to a nt4 box from my win98 server without having to be online ? (8 Replies)
Discussion started by: perleo
8 Replies

2. IP Networking

check whether connected to network

hi... can anyone pls suggest a few methods to check whether a computer is connected to any network, using the terminal, not GUI. thanks eskay (1 Reply)
Discussion started by: eskay_karthik
1 Replies

3. Linux

How to mount a filesystem of one pc in another pc that are connected in a network?

Hi, I have a software in one of the pcs connected in the network and I need to mount that file system in my PC. Both the pcs have Linux installed. Please let me know how can we achieve this. Any pointers would be of great help. Thanks & Regards, Venkatesh. (3 Replies)
Discussion started by: venkatesh_sasi
3 Replies

4. UNIX for Dummies Questions & Answers

How to determine if a host is connected to the Internet in Unix?

How to determine if a host is connected to the Internet in Unix ? (1 Reply)
Discussion started by: shuhang2
1 Replies

5. IP Networking

Connecting to an SSN from an internal network

Hi I have an Apache Web server running on a Solaris 8 box that sits on a SSN. I have one desktop that connects to the SSN from the internal network and is recognised directly without using the gateway, all other desktops, laptops from inside the internal network connect to the SSN using the... (0 Replies)
Discussion started by: Bobby76
0 Replies

6. UNIX for Advanced & Expert Users

Forwarding internal internet packets to internal webserver using iptables

Hi, I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication. Can... (1 Reply)
Discussion started by: mshindo
1 Replies

7. UNIX for Dummies Questions & Answers

Non Internet connected distribution

Hi all I've been a Debian user since solidly since about 1997 so I'm fairly experienced Linux user as a whole but unfortunately the monoculture has hit be hard recently. I'm working off a Laptop a lot of the time which spends up to 2-4 weeks without an Internet connection. A few weeks ago it... (1 Reply)
Discussion started by: pointyhat
1 Replies

8. UNIX for Advanced & Expert Users

Connected to the internet with no network process

This is what I did. $ ps -ef | grep -i networkroot 6657 1 0 12:55 ? 00:00:01 /usr/sbin/NetworkManager bob 7251 7212 0 13:24 pts/3 00:00:00 grep --color=auto -i $ sudo kill -9 6657 password for bob: $ ping -c 5 google.com PING google.com (74.125.229.160)... (1 Reply)
Discussion started by: cokedude
1 Replies

9. Shell Programming and Scripting

Different ways to check a file

to get the checksum of a file on unix systems, you can just use the "cksum" command. i discovered there are some watered down versions of unix systems i have to do some work on. surprisingly, these systems have perl installed on them and awk. so if the cksum command is not available on a... (1 Reply)
Discussion started by: SkySmart
1 Replies
inet(7F)																  inet(7F)

NAME
inet - Internet protocol family SYNOPSIS
DESCRIPTION
The internet protocol family is a collection of protocols layered on top of the (IP) network layer, which utilizes the internet address format. The internet family supports the SOCK_STREAM and SOCK_DGRAM socket types. Addressing Internet addresses are four byte entities. The include file defines this address as the structure Sockets bound to the internet protocol family utilize an addressing structure called Pointers to this structure can be used in system calls wherever they ask for a pointer to a There are three fields of interest within this structure. The first is which must be set to AF_INET. The next is which specifies the port number to be used on the desired host. The third is which is of type and specifies the address of the desired host. Protocols The internet protocol family is comprised of the IP network protocol, Internet Control Message Protocol (ICMP), Transmission Control Proto- col (TCP), and User Datagram Protocol (UDP). TCP is used to support the socket type while UDP is used to support the socket type. The ICMP message protocol and IP network protocol are not directly accessible. The local port address is selected from independent domains for TCP and UDP sockets. This means that creating a TCP socket and binding it to local port number 10000, for example, does not interfere with creating a UDP socket and also binding it to local port number 10000 at the same time. Port numbers in the range 1-1023 inclusive are reserved for use by the super-user only. Attempts to bind to port numbers in this range by non-super-users fail and result in an error returned. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
tcp(7P), udp(7P). inet(7F)
All times are GMT -4. The time now is 01:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy