09-06-2006
also.. i changed the mac using ifocnfig.. (thnx corona..).. now i have to do it using sockets.. anyone knows any good links to learn socket programming.. really faaast.. like in less thana day or so...
thanx again...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
All,
I have a need to software change the MAC address of a NIC in a Sparc Ultra 10 - I believe there is a command that allows to do this at boot up?
Is it a missing (to me) part of ifconfig ?
If so, what is the syntax?
All replies gratefully received !
Thanks
Andrew (3 Replies)
Discussion started by: wretch
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am going to shift my Unix workstation to another lab. So I need to change the IP address.
Please tell me how to change the Network IP address, what is the commands, what to take care?
Thank you very much and have a very nice day. (4 Replies)
Discussion started by: champion
4 Replies
3. AIX
I need to change the IP address on one of your Unix machines - P630, AIX5.2.
I plan on using SMIT to perform this function. These are the steps that I have put together so far:
1. Select Communications Applications & Services
- Select TCP/IP
- Select Minimun Configuration & Startup... (2 Replies)
Discussion started by: jyoung
2 Replies
4. IP Networking
Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
5. Windows & DOS: Issues & Discussions
Hi ,,, i just come across this forum and i make it a must to be pay a visit here everyday and through it am learning a lots of things which am sure i will be able to share later...
So i have a prob with my pc when i try to change my Ip address in the dos command using ipconfig command i got a... (1 Reply)
Discussion started by: Lutchumaya
1 Replies
6. AIX
Hi,
I am using aix 5300-07, I am facing strange issue in aix.
I have changed the ip address and gateway of aix server , it is showing the right ip address but it is taking old gateway ip address.
I have used netstat -r command and found it is showing 2 Default gateway.
I want to... (2 Replies)
Discussion started by: manoj.solaris
2 Replies
7. IP Networking
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies
8. IP Networking
My work has a Unix based system that currently has the IP address 192.9.2.25
We recently changed internet providers from DSL to Cable. By doing so, we had to get a new router (Belkin) since the DSL provider had a wireless router/modem in one. With the DSL setup, I was able to change the router's... (2 Replies)
Discussion started by: Len351
2 Replies
9. SCO
Hi,
For som reason i need to change MAC address of SCO Open Server 5.0.6.
I have searched foe answer too much but i didn't fin any thing well.:mad:
Please help me,
Thx:cool::) (4 Replies)
Discussion started by: mammut3d
4 Replies
10. IP Networking
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
LEARN ABOUT LINUX
sockstat
SOCKSTAT(1) BSD General Commands Manual SOCKSTAT(1)
NAME
sockstat -- list open sockets
SYNOPSIS
sockstat [-clh] [-p ports] [-P pid|process] [-U uid|user] [-G gid|group]
DESCRIPTION
The sockstat command lists open Internet or UNIX domain sockets.
The following options are available:
-c Show connected sockets.
-l Show listening sockets.
-h Show a usage summary.
-p ports Only show Internet sockets if either the local or foreign port number is on the specified list. The ports argument is a comma-
separated list of port numbers and ranges specified as first and last port separated by a dash.
-P pid|process
Only show sockets of the specified pid|process. The pid|process argument is a process name or pid.
-U uid|user
Only show sockets of the specified uid|user. The uid|user argument is a username or uid.
-G gid|group
Only show sockets of the specified gid|group. The gid|group argument is a groupname or gid.
If neither -c or -l is specified, sockstat will list both listening and connected sockets.
The information listed for each socket is:
USER The user who owns the socket.
COMMAND The command which holds the socket.
PID The process ID of the command which holds the socket.
FD The file descriptor number of the socket.
PROTO The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or datagram) for UNIX
sockets.
LOCAL ADDRESS For Internet sockets, this is the address the local end of the socket is bound to (see getsockname(2)). For bound UNIX
sockets, it is the socket's filename. For other UNIX sockets, it is a right arrow followed by the endpoint's filename, or
``??'' if the endpoint could not be determined.
FOREIGN ADDRESS (Internet sockets only) The address the foreign end of the socket is bound to (see getpeername(2)).
SEE ALSO
netstat(1), protocols(5)
HISTORY
The sockstat command appeared in FreeBSD 3.1.
AUTHORS
The sockstat command and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
The sockstat command was ported to Linux by William Pitcock <nenolod@nenolod.net>.
BSD
May 18, 2008 BSD