A freshman with linux needs help configuring WiFi

Hello! I think life is lot easier using MS Windows. I have a dell studio 1535 laptop. I installed Suse 11.1 on it. This is what I found out using YaST Hardware information about the network card;
Bus ID:12
Bus: PCI
Device(spec): Wireless 1397 WLAN Mini-card
Device Identifier(spec):65548
Device Identifier:82709
Devie:BCM4312 802.11b/g
Hwcfg Bus: pci
Model:Dell wireless 1397 WLAN Mini-Card
Old Unique key:u2Sd.pDi|KSkvxw6
Parent Unique ID: qTvu.VNTpR9_N|0
Sysfs ID:/devices/pci0000:00/0000:00:1c/0000:0c:00.0
Sysfs ID: 0000:0c:00.0

I tried to follow the instructions that I found by searching through the web to install the wifi and make it work. So, I don’t have to bother anyone. But I failed.
This is What I did using gnome terminal.
“/sbin/lspci” -----> I typed—> result follows;
0c:00.0 Network Controller:Broadcom Corporation BCM4312 802.11b/g (rev01)

“/sbin/lspci -n” ----->Then I typed this result follows;
0c:00.0 0280: 14e4:4315 (rev01)

Then I typed “dmesg|less”. But I couldn’t find anything like this—>“b43-phy0:Broadcom 4311 WLAN found”.

Then I followed these steps…

linux-s4z5:/home/shahnur/Desktop # wget http://bu3sch.de/b43/fwcutter/bcm43xx-fwcutter-006.tar.bz2
–2009-02-05 13:12:25-- http://bu3sch.de/b43/fwcutter/bcm43xx-fwcutter-006.tar.bz2
Resolving bu3sch.de… 62.75.166.246
Connecting to bu3sch.de|62.75.166.246|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 27525 (27K) [application/x-tar]
Saving to: `bcm43xx-fwcutter-006.tar.bz2’

100%===================================================================================================================>] 27,525 41.1K/s in 0.7s

2009-02-05 13:12:26 (41.1 KB/s) - `bcm43xx-fwcutter-006.tar.bz2’ saved [27525/27525]

linux-s4z5:/home/shahnur/Desktop # tar xjf bcm43xx-fwcutter-006.tar.bz2
linux-s4z5:/home/shahnur/Desktop # cd bcm43xx-fwcutter-006
linux-s4z5:/home/shahnur/Desktop/bcm43xx-fwcutter-006 # make
cc -O2 -fomit-frame-pointer -std=c99 -Wall -pedantic -D_BSD_SOURCE -DFWCUTTER_VERSION_=006 -c -o fwcutter.o fwcutter.c
make: cc: Command not found
make: *** [fwcutter.o] Error 127
linux-s4z5:/home/shahnur/Desktop/bcm43xx-fwcutter-006 # cd…
linux-s4z5:/home/shahnur/Desktop # export FIRMWARE_INSTALL_DIR="/lib/firmware"
linux-s4z5:/home/shahnur/Desktop # wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
–2009-02-05 13:15:54-- http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
Resolving downloads.openwrt.org… 195.56.146.238
Connecting to downloads.openwrt.org|195.56.146.238|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 652866 (638K) [application/x-object]
Saving to: `wl_apsta-3.130.20.0.o’

100%===================================================================================================================>] 652,866 282K/s in 2.3s

2009-02-05 13:15:56 (282 KB/s) - `wl_apsta-3.130.20.0.o’ saved [652866/652866]

linux-s4z5:/home/shahnur/Desktop # sudo ./bcm43xx-fwcutter-006/bcm43xx-fwcutter -w “$FIRMWARE_INSTALL_DIR”
sudo: ./bcm43xx-fwcutter-006/bcm43xx-fwcutter: command not found
linux-s4z5:/home/shahnur/Desktop # wl_apsta-3.130.20.0.o
bash: wl_apsta-3.130.20.0.o: command not found
linux-s4z5:/home/shahnur/Desktop # uname -a
Linux linux-s4z5 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
linux-s4z5:/home/shahnur/Desktop # lspci -vvn|grep 43 -A7
03:01.2 0880: 1180:0843 (rev 12)
Subsystem: 1028:0254
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 3
Region 0: Memory at f68ff500 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

0c:00.0 0280: 14e4:4315 (rev 01)
Subsystem: 1028:000c
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at f6cfc000 (64-bit, non-prefetchable) [size=16]
Capabilities: [40] Power Management version 3
linux-s4z5:/home/shahnur/Desktop #

“I think I’m into deep _____”. Please can any linux guru out there help this freshman and make him say “long live open source, long live linux”…[/size][/size]

Try using a LIVE LINUX version of SuSE 11.1 from a CD.

This should find and connect to web etc using your wireless link.
ensure you have the data for the router set up.
Alternatively try Live Linux PCLinuxOS which has a failrly good wireless finding capability.

Sorry end of hint is , after working in Live SuSE note details and then repeat these in the installed SuSE

If you had read the stickies in this forum, you would have found a
better way to install the firmware for your Broadcom device. The web
site you found has a set of instructions that are valid for all
distros, but a compiler is needed. Your main problem, however, is that
Broadcom devices with PCI ID of 0x4315 do not work with the in-kernel
driver b43.

The device will not work with the Live CD or an installed system.
Ignore the advice that tells you to use that method.

Your wireless card will work with ndiswrapper or the Broadcom hybrid
driver. You will find much advice on these two options in the forum. I
don’t do either.

Larry

Thanks Mr.Larry! I will try what you’ve suggested even though I’m totally confused. Anyway, I’m learning. I’ll keep posting my progress for your opinion. Thanks also to wise penguin.

Hello linux gurus! Thanx in advance to you all. Specially to deltaflyer44 and |wfinger. This is what I did and I was successful to get my wifi connection for once. It was all gone when I reboot my laptop. I followed these steps;
shahnur@linux-s4z5:~/hybrid_wl:- su
Password:
linux-s4z5:/home/shahnur/hybrid_wl # modprobe ieee80211_crypt_tkip
linux-s4z5:/home/shahnur/hybrid_wl # insmod wl.ko
linux-s4z5:/home/shahnur/hybrid_wl # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

pan0 no wireless extensions.

eth1 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=4/5 Signal level=-59 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

linux-s4z5:/home/shahnur/hybrid_wl # iwlist scanning
lo Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

pan0 Interface doesn’t support scanning.

eth1 Scan completed :

Cell 02 - Address: 00:21:29:DA:8D:96
ESSID:“Shetu_linksys”
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:5/5 Signal level:-34 dBm Noise level:-24 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s

I think I was suppose to copy this line;

cp wl.ko /lib/modules/uname-r/kernel/net/wireless/

It gave me this;

linux-s4z5:/home/shahnur/hybrid_wl # cp wl.ko /lib/modules/uname -r/kernel/net/wireless/
cp: invalid option – ‘/’
Try `cp --help’ for more information.

I was also suppose to edit /etc/rc.d/boot.local for these lines;

modprobe ieee80211_crypt_tkip
modprobe wl

I was lost here. I don’t know how to edit and save the work after editing in gnome terminal.
How do I make it permanent? What changes do I make and where do I make it? Can anyone reply me in details please. How do I edit ‘boot.local’ and how do I save it? I all lost.Please help…

spybot420 wrote:
> Hello linux gurus! Thanx in advance to you all. Specially to
> deltaflyer44 and |wfinger. This is what I did and I was successful to
> get my wifi connection for once. It was all gone when I reboot my
> laptop. I followed these steps;
> shahnur@linux-s4z5:~/hybrid_wl:- su
> Password:
> linux-s4z5:/home/shahnur/hybrid_wl # modprobe ieee80211_crypt_tkip
> linux-s4z5:/home/shahnur/hybrid_wl # insmod wl.ko
> linux-s4z5:/home/shahnur/hybrid_wl # iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> pan0 no wireless extensions.
>
> eth1 IEEE 802.11bg ESSID:""
> Mode:Managed Frequency:2.437 GHz Access Point:
> Not-Associated
> Bit Rate:54 Mb/s Tx-Power:32 dBm
> Retry min limit:7 RTS thr:off Fragment thr:off
> Power Managementmode:All packets received
> Link Quality=4/5 Signal level=-59 dBm Noise level=-57 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> linux-s4z5:/home/shahnur/hybrid_wl # iwlist scanning
> lo Interface doesn’t support scanning.
>
> eth0 Interface doesn’t support scanning.
>
> pan0 Interface doesn’t support scanning.
>
> eth1 Scan completed :
>
> Cell 02 - Address: 00:21:29:DA:8D:96
> ESSID:“Shetu_linksys”
> Mode:Managed
> Frequency:2.462 GHz (Channel 11)
> Quality:5/5 Signal level:-34 dBm Noise level:-24 dBm
> Encryption key:on
> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
> 24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
> 12 Mb/s; 48 Mb/s
>
> I think I was suppose to copy this line;
>
> cp wl.ko /lib/modules/uname-r/kernel/net/wireless/
>
> It gave me this;
>
> linux-s4z5:/home/shahnur/hybrid_wl # cp wl.ko /lib/modules/uname
> -r/kernel/net/wireless/
The uname -r needs to be surrounded by back ticks - the key usually found just
below the ESC key. The meaning is to run the command inside the ticks and
substitute the result.

> cp: invalid option – ‘/’
> Try `cp --help’ for more information.
>
> I was also suppose to edit /etc/rc.d/boot.local for these lines;
>
> modprobe ieee80211_crypt_tkip
> modprobe wl
>
> I was lost here. I don’t know how to edit and save the work after
> editing in gnome terminal.
> How do I make it permanent? What changes do I make and where do I make
> it? Can anyone reply me in details please. How do I edit ‘boot.local’
> and how do I save it? I all lost.Please help…

After you do the cp above, then use YaST => System => /etc/sysconfig Editor.
Click on the + next to Sytem and the + next to Kernel. Then click on the
MODULES_LOADED_ON_BOOT entry and enter your two modules separated by a space.

Larry

Thank you Mr. Larry! It worked like a charm. You are a great guru. Thanks to other gurus of linux for helping us all.

shahnur

Hello gurus! I’m now configuring the wifi connection for my HP Pavilion Slimline. I’ve installed Suse11.1 and Kde desktop.It’s 64bit machine. This is what I’ve found in hardware info:-

Bus:USB
Device ID:196612
Device Name:wlan0
Device: 802.11 bg WLAN
Driver: rt73usb
Hwcfg Bus: usb
Kernel Driver: rt73usb;
Model: Ralink 802.11 bg WLAN
Sysfs ID: /devices/pci0000:00/0000:00:02.1/usb2/2-9/2-9:1.0

I did type both ‘/usr/bin/lsusb’ and ‘/sbin/lspci’ just to make sure. These are the results that I’ve found;

shahnur@linux-xuym:~> /usr/bin/lsusb
Bus 002 Device 003: ID 15a9:0004
Bus 002 Device 004: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0d3d:0026 Tangtop Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
shahnur@linux-xuym:~> /sbin/lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6150SE nForce 430 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)
01:0a.0 Communication controller: Conexant Systems, Inc. HSF 56k Data/Fax Modem

I’m not sure if the device is seen by lsusb or lspci. What is your suggestion? What kind of firmware I should download, if the device is seen? Thanx to |wfinger in advance and to other gurus also.

Shahnur

Your device is clearly a USB device. Why it didn’t show up in the lsusb output
is a mystery.

To determine what firmware your device needs, enter the command

dmesg | grep firmware

That will list the firmware file names needed for the device.

Larry

Hi Mr.Larry! This is what I got;

linux-xuym:- ‘dmesg|grep firmware’
firmware: requesting rt73.bin

Then I did ‘/usr/sbin/iwconfig/’ and I got;

wlan0 IEEE802.11bg ESSID:“Shetu_linksys”


-----------------------------------Missed beacon:0

Then I typed '/usr/sbin/iwlist scanning and I got;

wlan0 Scan completed:
Cell 01- Address: 00:21:29:DA:8D:96
ESSID: “Shetu_linksys”
Mode: Master----------------------

----------------Extra: last beacon: 60ms ago

spybot420 wrote:
> Hi Mr.Larry! This is what I got;
>
> linux-xuym:- ‘dmesg|grep firmware’
> firmware: requesting rt73.bin
>
> Then I did ‘/usr/sbin/iwconfig/’ and I got;
>
> wlan0 IEEE802.11bg ESSID:“Shetu_linksys”
> ----------------------------------------
> ----------------------------------------
> -----------------------------------Missed beacon:0
>
> Then I typed '/usr/sbin/iwlist scanning and I got;
>
> wlan0 Scan completed:
> Cell 01- Address: 00:21:29:DA:8D:96
> ESSID: “Shetu_linksys”
> Mode: Master----------------------
> -------------------------------------
> ----------------Extra: last beacon: 60ms ago

What are all those -----? Did it really output those, or are you abbreviating
the data?

In any case, you didn’t get a “firmware not found” message, thus it was loaded.

Larry

Hello Sir! Thank you once more and hundred more times. You’re right. I was just abbreviating the data. It was giving me all image flag problem while I was trying to copy the data from terminal to the reply box. So, how do I get to see the network icon at the bottom right corner of my taskbar like I see the icon on my laptop? What should I do next to make the wifi work permanently?

You need to make certain that NetworkManager is controlling the devices. That is
done with YaST => Network Devices => Network Settings. Look under the “Global
Options” tab. Once that is done, then use the NetworkManager applet to add the
new connection.

Larry

Hi Sir! I did as you’ve instructed. I changed the network manager option under the the global option to the Network Setting. But I still don’t see the applet anywhere on my desktop. How do I fix this?This is what I got when I typed NetworkManager in terminal;

shahnur@linux-xuym:~> su -l
Password:
linux-xuym:~ # NetworkManager
linux-xuym:~ # NetworkManager --help
Usage:
NetworkManager [OPTION…]

NetworkManager monitors all network connections and automatically
chooses the best connection to use. It also allows the user to
specify wireless access points which wireless cards in the computer
should associate with.

Help Options:
-?, --help Show help options

Application Options:
–no-daemon Don’t become a daemon
–pid-file=filename Specify the location of a PID file

linux-xuym:~ # NetworkManager --no-daemon
NetworkManager: <info> starting…
NetworkManager: <WARN> nm_dbus_manager_start_service(): Could not acquire the NetworkManager service as it is already taken.
NetworkManager: <info> disconnected by the system bus.
NetworkManager: <WARN> main(): Failed to start the dbus manager.

it comes under System - Desktop Applet.Or,press alt+f2 & type nmapplet in the box & hit enter

Andy

Hello gurus! I’m trying to make the iso of /etc folder. But seems like it is not working. I typed the following codes;

linux-s4z5:~ # mkisofs -o /tmp/etc.iso -r /etc
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Directories too deep for ‘/etc/gconf/gconf.xml.schemas/apps/compiz/plugins/water/allscreens/options’ (7) max is 6.
linux-s4z5:~ # dd if=/etc of=/tmp/etc.iso
dd: reading `/etc’: Is a directory
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0234022 s, 0.0 kB/s

This is what I got. I trying to do this with the gnome terminal. Thanx in advance to the gurus.

Shahnur

hello gurus!! I’ve downloaded hybrid driver for my Dell 1535 laptop from Broadcom.com - 802.11 Linux STA driver. I downloaded the the 32bit driver. I’ve untar the driver into the “hybrid_wl” folder according to the instruction (Readme.txt). But I got stuck here:

shetu@linux-3bte:~> mkdir hybrid_wl
shetu@linux-3bte:~> cd hybrid_wl
shetu@linux-3bte:~/hybrid_wl> tar -xzf hybrid-portsrc-x86_32-v5_10_91_9.tar.gz
shetu@linux-3bte:~/hybrid_wl> make -C /lib/modules/2.6.27.7-9-pae/build M=pwdmake: Entering directory /usr/src/linux-2.6.27.7-9-obj/i386/pae' make: *** No targets specified and no makefile found. Stop. make: Leaving directory /usr/src/linux-2.6.27.7-9-obj/i386/pae’
shetu@linux-3bte:~/hybrid_wl> su
Password:
linux-3bte:/home/shetu/hybrid_wl # make -C /lib/modules/2.6.27.7-9-pae/build M=pwd
make: Entering directory /usr/src/linux-2.6.27.7-9-obj/i386/pae' make: *** No targets specified and no makefile found. Stop. make: Leaving directory /usr/src/linux-2.6.27.7-9-obj/i386/pae’

I think my broadcom pci id is 0c:00.0 0280:14e4:4315(rev01).I’m not sure if I downloaded the right driver or not. Mr.Deltaflyer suggested me that I should download from this link PackMan :: Package details for broadcom-wl
But I couldn’t figure out which one to download…I only found 2.6.27.7-9-pae folder under /lib/modules…I think that’s also my kernel version…Can someone please help me to resolve this problem??? thanx a lot in advance…

shahnur

spybot420 wrote:
> hello gurus!! I’ve downloaded hybrid driver for my Dell 1535 laptop from
> ‘Broadcom.com - 802.11 Linux STA driver’
> (Support Documents and Downloads). I downloaded the
> the 32bit driver. I’ve untar the driver into the “hybrid_wl” folder
> according to the instruction (Readme.txt). But I got stuck here:
>
> shetu@linux-3bte:~> mkdir hybrid_wl
> shetu@linux-3bte:~> cd hybrid_wl
> shetu@linux-3bte:~/hybrid_wl> tar -xzf
> hybrid-portsrc-x86_32-v5_10_91_9.tar.gz
> shetu@linux-3bte:~/hybrid_wl> make -C /lib/modules/2.6.27.7-9-pae/build
> M=pwdmake: Entering directory
> `/usr/src/linux-2.6.27.7-9-obj/i386/pae’

make: *** No targets specified and no makefile found. Stop.
make: Leaving directory /usr/src/linux-2.6.27.7-9-obj/i386/pae' &gt; shetu@linux-3bte:~/hybrid_wl&gt; su &gt; Password: &gt; linux-3bte:/home/shetu/hybrid_wl # make -C &gt; /lib/modules/2.6.27.7-9-pae/build M=pwd&gt; make: Entering directory/usr/src/linux-2.6.27.7-9-obj/i386/pae’
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae’
> -----------------------------------------------------------------
> I think my broadcom pci id is 0c:00.0 0280:14e4:4315(rev01).I’m not
> sure if I downloaded the right driver or not. Mr.Deltaflyer suggested me
> that I should download from this link ‘PackMan :: Package details for
> broadcom-wl’ (PackMan :: Package details for broadcom-wl)
> But I couldn’t figure out which one to download…I only found
> 2.6.27.7-9-pae folder under /lib/modules…I think that’s also my kernel
> version…Can someone please help me to resolve this problem???
> thanx a lot in advance…

You cannot build an out of kernel driver unless you have the kernel
headers loaded. You do not.

ou will be better off with the PackMan package. The one you need must
match your kernel. Use the ‘uname -r’ command to get that information.

Hello Mr.Larry!!

I did type “uname -r” on terminal and it gave me “2.6.27.7-9-pae”. but I couldn’t find any matching driver from pacman site. I did install kernel source from Yast. It gave me all other folders as (2.6.27.29-0.1-debug, 2.6.27.29-0.1-default, 2.6.27.29-0.1-ec2, 2.6.27.29-0.1-pae, 2.6.27.29-0.1-trace, 2.6.27.29-0.1-vmi, and 2.6.27.29-0.1-xen) under /lib/modules. So, I downloaded the “broadcom-wl-kmp-pae-5.10.91.9_2.6.27.29_0.1-6.pm.6.1.i58.rpm”. I extracted this into the “hybrid_wl” folder. After extracting it I got /hybrid_wl/lib/modules/2.6.27.29-0.1-pae/updates and the “wl.ko” file. I don’t know what to do from here on. Please help me to solve and learn. Thank you in advance…

shahnur