arp: command not found

649 views
Skip to first unread message

Zhi Yong Wu

unread,
Jan 25, 2014, 11:42:52 PM1/25/14
to Osv Dev
HI,

The arp command doesn't work.

[/]% help
Try one of these commands with the -h or --help switch:

NAME DESCRIPTION
arp
cat concatenate files and print on standard output
cd change the current working directory
dashboard
.....

[/]% arp
arp: command not found

--
Regards,

Zhi Yong Wu

Tzach Livyatan

unread,
Jan 26, 2014, 3:22:54 AM1/26/14
to Zhi Yong Wu, Osv Dev
Thanks for letting us know. 
I reopen this bug
 
 

--
Regards,

Zhi Yong Wu

--
You received this message because you are subscribed to the Google Groups "OSv Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Zhi Yong Wu

unread,
Feb 4, 2014, 5:06:28 PM2/4/14
to Osv Dev
arp seems to work now, but ifconfig and ip don't work.

[/]% arp
usage: arp add ifname macaddr ip

ifname Interface name
macaddr MAC address
ip IP address



[/]% ifconfig
ifconfig: command not found
[/]% ip
ip: command not found
[/]%

Tzach Livyatan

unread,
Feb 5, 2014, 4:11:19 AM2/5/14
to Zhi Yong Wu, Osv Dev
On Wed, Feb 5, 2014 at 12:06 AM, Zhi Yong Wu <zwu.k...@gmail.com> wrote:
arp seems to work now, but ifconfig and ip don't work.

[/]% arp
usage: arp add ifname macaddr ip

   ifname  Interface name
   macaddr MAC address
   ip      IP address
arp actually cause a crash on the latest OSv build on my machine




[/]% ifconfig
ifconfig: command not found
[/]% ip
ip: command not found
[/]%
ip, ifconfig does works for me

 [/]% ifconfig
ifconfig argc=1 argv[0]=/tools/ifconfig.so

lo0: flags=37777700111<UP,LOOPBACK,RUNNING,MULTICAST,PPROMISC,MONITOR,STATICARP>  mtu 16384
        inet  127.0.0.1  netmask 255.0.0.0  broadcast 
        RX packets 0  bytes 0 
        Rx errors  0  dropped 0
        TX packets 0  bytes 0 
        Tx errors  0  dropped 0 collisions 0

eth0: flags=103<UP,BROADCAST,RUNNING>  mtu 1500
        inet  192.168.122.15  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:0:12:34:56
        RX packets 2  bytes 1180 (1.2 KiB)
        Rx errors  0  dropped 0
        TX packets 3  bytes 633 
        Tx errors  0  dropped 0 collisions 0


On Sun, Jan 26, 2014 at 12:42 PM, Zhi Yong Wu <zwu.k...@gmail.com> wrote:
> HI,
>
> The arp command doesn't work.
>
> [/]% help
> Try one of these commands with the -h or --help switch:
>
> NAME      DESCRIPTION
> arp
> cat       concatenate files and print on standard output
> cd        change the current working directory
> dashboard
> .....
>
> [/]% arp
> arp: command not found
>
> --
> Regards,
>
> Zhi Yong Wu



--
Regards,

Zhi Yong Wu

Zhi Yong Wu

unread,
Feb 5, 2014, 6:32:55 AM2/5/14
to Tzach Livyatan, Osv Dev
On Wed, Feb 5, 2014 at 5:11 PM, Tzach Livyatan
<tz...@cloudius-systems.com> wrote:
> On Wed, Feb 5, 2014 at 12:06 AM, Zhi Yong Wu <zwu.k...@gmail.com> wrote:
>>
>> arp seems to work now, but ifconfig and ip don't work.
>>
>> [/]% arp
>> usage: arp add ifname macaddr ip
>>
>> ifname Interface name
>> macaddr MAC address
>> ip IP address
>
> arp actually cause a crash on the latest OSv build on my machine
>
>>
>>
Is your head commit id of osv.igt 6e87ff7d549 and mgmt.git's is 5c8f23cde79?
Just checked again, i got the same as my last time.

osv.git:
commit 6e87ff7d5491590784cd74a2474f8e1b2e8eb2f1
Author: Avi Kivity <a...@cloudius-systems.com>
Date: Tue Feb 4 10:08:58 2014 +0200

apps: update to latest

bba6263 apps: Added netperf3 module
19d0873 Fix "haproxy" module
09f8699 apps: drop obsolete netperf patch

mgmt.git:
commit 5c8f23cde798882c7b288a77f6cf32c12a7a3fc1
Author: Amnon Heiman <am...@cloudius-systems.com>
Date: Tue Feb 4 12:00:55 2014 +0200

API: Adding Swagger-UI submodule

Swagger-UI is a frontend GUI for the rest API. Swagger-UI was branched
under the OSV repository and Swagger-UI is now a submodule of the mgmt
submodule

Tzach Livyatan

unread,
Feb 5, 2014, 8:36:57 AM2/5/14
to Zhi Yong Wu, Osv Dev
On Wed, Feb 5, 2014 at 1:32 PM, Zhi Yong Wu <zwu.k...@gmail.com> wrote:
On Wed, Feb 5, 2014 at 5:11 PM, Tzach Livyatan
<tz...@cloudius-systems.com> wrote:
> On Wed, Feb 5, 2014 at 12:06 AM, Zhi Yong Wu <zwu.k...@gmail.com> wrote:
>>
>> arp seems to work now, but ifconfig and ip don't work.
>>
>> [/]% arp
>> usage: arp add ifname macaddr ip
>>
>>    ifname  Interface name
>>    macaddr MAC address
>>    ip      IP address
>
> arp actually cause a crash on the latest OSv build on my machine
>
>>
>>
Is your head commit id of osv.igt 6e87ff7d549 and mgmt.git's is 5c8f23cde79?
Just checked again, i got the same as my last time.

Yes, I was behind in the mgmt git.

Pekka Enberg

unread,
Feb 6, 2014, 6:30:42 AM2/6/14
to Zhi Yong Wu, Osv Dev, Or Cohen
(CC'ing Or.)

On Wed, Feb 5, 2014 at 12:06 AM, Zhi Yong Wu <zwu.k...@gmail.com> wrote:
> arp seems to work now, but ifconfig and ip don't work.
>
> [/]% arp
> usage: arp add ifname macaddr ip
>
> ifname Interface name
> macaddr MAC address
> ip IP address
>
>
>
> [/]% ifconfig
> ifconfig: command not found
> [/]% ip
> ip: command not found
> [/]%

Can you create a Github issue for these, or better yet, send a patch
to fix the up? :-)

- Pekka

Zhi Yong Wu

unread,
Feb 6, 2014, 8:37:09 AM2/6/14
to Pekka Enberg, Osv Dev, Or Cohen
Created on https://github.com/cloudius-systems/mgmt/issues/25
I am trying to work on virt_net: add mq & vcpu affinity support, so
will queue this bug to my TODO list. If anyone would like to fix it,
please feel free to pick up.:)

>
> - Pekka

Eduardo Piva

unread,
Feb 15, 2014, 8:55:02 AM2/15/14
to Zhi Yong Wu, Pekka Enberg, Osv Dev, Or Cohen
ifconfig and ip also does not work for me either. :-/
--
You received this message because you are subscribed to the Google Groups "OSv Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Eduardo Fernandes Piva
efp...@gmail.com

Pekka Enberg

unread,
Feb 17, 2014, 3:08:03 AM2/17/14
to Eduardo Piva, Zhi Yong Wu, Osv Dev, Or Cohen
On Sat, Feb 15, 2014 at 3:55 PM, Eduardo Piva <efp...@gmail.com> wrote:
> ifconfig and ip also does not work for me either. :-/

The mgmt.git submodule in osv.git was lagging behind. I updated it to
latest on Friday and both commands work fine here. Remember to run
"git module update", though.

- Pekka

Eduardo Piva

unread,
Feb 17, 2014, 9:03:36 AM2/17/14
to Pekka Enberg, Zhi Yong Wu, Osv Dev, Or Cohen
That solved here!

Thanks
Reply all
Reply to author
Forward
0 new messages