Networking Issues - Opera, FreeBSD, AIX


 
Thread Tools Search this Thread
Operating Systems AIX Networking Issues - Opera, FreeBSD, AIX
# 1  
Old 05-28-2012
Networking Issues - Opera, FreeBSD, AIX

(1) Hi, Am working on FreeBSD 7.4/i386 and installed Opera 11.01 through ports collection manually... But when I run first time am getting "opera: cannot connect X server. Error: Unknown error: 0" What is this error all about???? Please help me to sort out this issue!!!

(2) Hi, currently am trying to tie a link between two OS, but when I tried "netstat -in" in AIX its the Network link#2. How to change the AIX Network link#2 to link#0... Do tell the steps how to change link#2 to link#0....Smilie

(3) Hi, currently am trying to tie a link between two OS, but when I tried "netstat -in" at FreeBSD7.4/i386 its Network link#1. How to change the FreeBSD Network link#1 to link#0... Do tell the steps how to change link#1 to link#0....Smilie

(4) Hi, am using FreeBSD 7.4 and installed opera11 through ports collection manually, but when i tried to run for first time am getting, "opera: cannot connect to X server. Error: Unknown error : 0" what does the error is all about??? Do help me please!!!

Moderator's Comments:
Mod Comment Four Five similar posts by the same member, posted at nearly the same time, combined into one thread.


(5) Hi, currently am working on FreeBSD7.4/i386, when i tried with "netstat -in" it says network link#1 for interface em0, how to change that network link from network link#1 to network link#0 for interface em0... Please do suggest the steps...Smilie
# 2  
Old 05-28-2012
Wow!! you have too many questions!! Smilie

Well, about running Opera on FreeBSD, I am unable to help you there. These ports are meant to be broken and for a person who never uses GUI on UNIX boxes, it's difficult to troubleshoot X related issues. Sorry!

Coming to Network Link number change, are you trying to say you want to change the name of the NIC from en2 to en0?

For AIX, I can guide you through the process, but it's the hard way. Someone else might show you much simpler way though.

Here it is:
Code:
# save the info about the NIC
odmget -q name="ent2" CuDv >>/tmp/en2
odmget -q name="ent2" CuAt >>/tmp/en2
odmget -q name="ent2" CuVPD >>/tmp/en2

# Bring the interface down
ifconfig ent2 down
ifconfig ent2 detach

# remvove references from the ODM
odmdelete -q name="ent2" -o CuAt
odmdelete -q name="ent2" -o CuDv
odmdelete -q name="ent2" -o CuVPD
odmdelete -q value3="ent2" -o CuDvDr

# replace the NIC name from ent2 to ent0
sed "s/ent2/ent0/g" /emp/ent2 >/tmp/ent0

# add the new info in ODM
odmadd /tmp/ent0

# check and confirm
lsdev -Cc adapter -l ent*

If you are using production system, I would highly recommend that you consult with someone who is expert in AIX ODM before doing anything!!

For FreeBSD:
Code:
vi /etc/rc.conf
# Add the following to change the name of the NIC from em2 to em0
ifconfig_em2_name="em0"
#change the following line by substituting em2 to em0; use your own IP details
ifconfig_em0="inet 10.0.1.105 netmask 255.255.0.0"

And reboot. That's about it! Smilie
# 3  
Old 05-29-2012
Networking Issues on AIX and FreeBSD

Hi,
Thanks for your reply.. But....Smilie Smilie
Am not trying to change the NIC interface.. No issues regarding that..
I need to change that "network link#" When "netstat -in" is typed on command prompt we get a output right, in that under Network Column "link#2" is displayed.. I need to change that "link#2" to "link#0" in AIX..
And in freeBSD "link#1" to "link#0".. Please do help me...Smilie
# 4  
Old 05-29-2012
To be honest i am not really sure about us not doing homework here. The question nr. 2 is quite suspiciously phrased. Anyway, i am going to give the benefit of doubt and will answer at least two questions - 1 and 4 - , which seem to be in fact one. Is it just me or is there absolutely no difference in them?

Quote:
Originally Posted by Priya Amaresh
(1) Hi, Am working on FreeBSD 7.4/i386 and installed Opera 11.01 through ports collection manually... But when I run first time am getting "opera: cannot connect X server. Error: Unknown error: 0" What is this error all about???? Please help me to sort out this issue!!!

(4) Hi, am using FreeBSD 7.4 and installed opera11 through ports collection manually, but when i tried to run for first time am getting, "opera: cannot connect to X server. Error: Unknown error : 0" what does the error is all about??? Do help me please!!!
The reason is that your X-server is refusing to let the client connect to the display managed by it. Enter xhost + (which suspends any restriction regarding clients) on the system running the X-server and try again, now this error should be gone.

You might want to read this post for a short explanation of how X-Windows works.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 5  
Old 05-29-2012
Opera

Thank You for your reply regarding opera..
But still that network link issue remains....Smilie Smilie
# 6  
Old 05-29-2012
Would it be possible for you to show us the "netstat -in" output on bothe the AIX and the FreeBSD boxes?

"netstat -in" shows the interface details with the name of the NIC. How are you getting "link#" as the output? Something is fishy here.
# 7  
Old 05-30-2012
Hi,
The output of netstat -in of AIX is posted...
The same appears for FreeBSD too..
Please help me to sort out the issue..
The link#3 is highlighted that has to be changed to "link#0"Smilie
Please help me.. My project is in the half way..
Should change to "link#0" then only I will be able to proceed
Networking Issues - Opera, FreeBSD, AIX-7974f843d882819cjpg

Last edited by Priya Amaresh; 05-30-2012 at 02:15 AM..
This User Gave Thanks to Priya Amaresh For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

FreeBSD DHCP wpa_supplicant Wi-Fi Issues

I just got FreeBSD up and running with an XFCE desktop on an old Gateway laptop. It works great, except the wireless setup is scaring me. I can connect to my home WiFi fine most of the time, but I'm concerned about other WiFi that I will need to connect to away from home. I understand that I can... (1 Reply)
Discussion started by: BrentBANKS
1 Replies

2. BSD

FreeBSD AMD NFS over TCP issues

Hi! I have a major issue with FreeBSD 7.1 i386. We did a change in our Unix env where we exchanged home storage from a NetAPP running udp to a NetAPP running tcp. Now I cant mount homedirs since NFS/AMD seem to fallback to udp :( Trying to force it with amd options nfs_proto=tcp and so on. ... (0 Replies)
Discussion started by: Esaia
0 Replies

3. BSD

FreeBSD - Wireles Ad-hoc Networking with IP alias

Hello Friends, I'm a newbie to FreeBSD. Trying to implement a IEEE paper : Energy consumption models for ad-hoc terminals (Computers). The test setup with 3 Computers & Wireless NIC goes as follows: Transmitter (A) --------------- Forwarder (B) -------------- Receiver (C) 10.0.1.1/24 ... (0 Replies)
Discussion started by: Govindaraj
0 Replies

4. UNIX for Dummies Questions & Answers

Resolved: htpasswd issues (-b) on FreeBSD

I wrote a script to batch-create directories with .htaccess and .htpasswd files. I am using the following line to create the .htpasswd file: htpasswd -cb .htpasswd $USER $PASS However, I keep getting this message in return: Usage: htpasswd passwordfile username The -c flag creates a new... (1 Reply)
Discussion started by: Spetnik
1 Replies

5. Web Development

Using IP.Board on FreeBSD, having SQL/Apache Issues

Server: FreeBSD 7.2-RELEASE MYSQL Version: MYSQL 5.1.36 PHP Version: 5.2.10 (apache2handler) IP.Board Version: v3.0.2 Safe Mode: OFF For the most part previously IP.Board, forum software, has run fine without any issues. Regular web pages and .php pages seem to load fine without any issues.... (2 Replies)
Discussion started by: Dark Severance
2 Replies

6. Solaris

Veriuos issues with networking in Navada

I have installed OpenSolaris SVN_100a on my Hp pavillion a6230n a cuple of days ago. The network administration panel under Syste. Administration >> network is missing. How do i fix this issue? ------------------ next ---------------------- File sharing I have a macbook 13''... (0 Replies)
Discussion started by: FloridaBSD
0 Replies

7. BSD

FreeBSD - Kernel Queries/Issues

All, I am a bit of a BSD newbie and haven't really played with it for years, but I have had a recent situation whereby someone attempted to load a custom kernel module and ended up breaking my BSD server. I managed to fix it by doing the following: Booting into loader mode: unload set... (3 Replies)
Discussion started by: drbabbers
3 Replies

8. UNIX for Dummies Questions & Answers

Installing Opera 8 on FreeBSD

I'm a n00b to UNIX, but I'm making much progress. My preferred browser is Opera, and the ported version with FBSD 5.4 is Opera 7.54. Because I lost my opera key, I'd prefer to have version 8 which does not require a key. How can I install the .tar.gz on FreeBSD? I am somewhat familiar with... (2 Replies)
Discussion started by: DrgnInterrupted
2 Replies

9. UNIX for Dummies Questions & Answers

Some FreeBSD issues

I have been using Linux for 3 years now, and I think I am getting enough knowledge (and confidence) to try some more 'traditional' unix variants. I installed FreeBSD 5.0-CURRENT. I have a couple of questions for the time being: 1) Frequently when I need to compile software packages they can't... (16 Replies)
Discussion started by: cbkihong
16 Replies

10. UNIX for Advanced & Expert Users

snort installation on freebsd issues

i'm following the, "How to setup and secure Snort, MySQL and Acid on FreeBSD 4.6 Release" off of the snort.org website. in the documentation it says snort should be installed through the following: ----- make -DWITH_MYSQL -DWITH_FLEXRESP ; make install ----- later it says to do the... (13 Replies)
Discussion started by: xyyz
13 Replies
Login or Register to Ask a Question