LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2010, 08:19 PM   #1
doomlash
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
ifconfig address with a port number?


Heya, folks.

I'm trying to grok a problem I'm having with an embedded machine. I'm pretty sure I can track down the larger problem, but I came across a usage of ifconfig that I don't understand, and I'm pretty sure this is the command that is failing. Has anyone seen this usage, and, if so, care to explain it to me?

The command is:
ifconfig eth0 192.168.78.20:9134

I understand how ifconfig works. What I don't understand is the :9134. I can't see anything in the docs about what this means. I know in most contexts it's a port number, but what does it do when bringing up a network interface? Does it limit it to only using port 9134?

Also, the guys who rolled this embedded machine run gdbserver on port 9134, so I'm sure that's related, but I'm not sure how.

Sorry if this has been posted before. I'm really not sure how to search for this, even on google.
 
Old 09-24-2010, 09:06 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
I've never heard of that either... it could be a mistake. Is the ifconfig command in your path a wrapper script or something?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Localhost pointing to default page if I don't specify the port number in the address rajaoLQ Linux - Server 6 08-24-2009 02:52 PM
how to find out the ip address and port number of an incoming message? meghadj Linux - Networking 1 09-25-2008 05:20 AM
How to extract the interface number from ifconfig -a pooppp Linux - Networking 4 08-04-2008 04:54 AM
ifconfig hw address not working GlupFire Linux - Networking 1 04-10-2008 09:54 AM
extracting IP address from ifconfig nowonmai Programming 2 11-24-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration